Cleanup: remove unused optional argument to imbuf.new
While this didn't cause any problems, it was incorrect.
This commit is contained in:
parent
80e720ee4a
commit
a6285339ba
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue