Cleanup: remove unused optional argument to imbuf.new

While this didn't cause any problems, it was incorrect.
This commit is contained in:
Campbell Barton 2021-01-04 20:00:27 +11:00
parent 80e720ee4a
commit a6285339ba
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}