diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 12:00:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 12:00:27 +0300 |
commit | a6285339ba75063d61631940a2bad7003e31b4b9 (patch) | |
tree | 221c71ea3a19ad06039d92f54ebde406427fc931 /source/blender | |
parent | 80e720ee4af4acff8f5fac768a9458e6e43a5cc0 (diff) |
Cleanup: remove unused optional argument to imbuf.new
While this didn't cause any problems, it was incorrect.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/generic/imbuf_py_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/imbuf_py_api.c b/source/blender/python/generic/imbuf_py_api.c index 3ea4550dd50..7247c17c406 100644 --- a/source/blender/python/generic/imbuf_py_api.c +++ b/source/blender/python/generic/imbuf_py_api.c @@ -423,7 +423,7 @@ static PyObject *M_imbuf_new(PyObject *UNUSED(self), PyObject *args, PyObject *k { int size[2]; static const char *_keywords[] = {"size", NULL}; - static _PyArg_Parser _parser = {"(ii)|i:new", _keywords, 0}; + static _PyArg_Parser _parser = {"(ii):new", _keywords, 0}; if (!_PyArg_ParseTupleAndKeywordsFast(args, kw, &_parser, &size[0], &size[1])) { return NULL; } |