change spec of arguments to bitmap init

This commit is contained in:
Amy Bowersox 2019-12-11 14:06:26 -07:00
parent b96527139f
commit 79088d4893
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ static int bitmap_init(BitmapObject *self, PyObject *args, PyObject *kwds)
const char *stock;
int width = 0, height = 0;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "$sii", kwlist, &stock, &width, &height))
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|$sii", kwlist, &stock, &width, &height))
return -1;
if (stock)