Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-01-04 12:00:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-04 12:00:27 +0300
commita6285339ba75063d61631940a2bad7003e31b4b9 (patch)
tree221c71ea3a19ad06039d92f54ebde406427fc931 /source/blender/python/generic/imbuf_py_api.c
parent80e720ee4af4acff8f5fac768a9458e6e43a5cc0 (diff)
Cleanup: remove unused optional argument to imbuf.new
While this didn't cause any problems, it was incorrect.
Diffstat (limited to 'source/blender/python/generic/imbuf_py_api.c')
-rw-r--r--source/blender/python/generic/imbuf_py_api.c2
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;
}