From 79088d4893b09ae336031e8525a52a4a085d827e Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Wed, 11 Dec 2019 14:06:26 -0700 Subject: [PATCH] change spec of arguments to bitmap init --- src/ep_bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ep_bitmap.c b/src/ep_bitmap.c index dfeef62..5eac856 100755 --- a/src/ep_bitmap.c +++ b/src/ep_bitmap.c @@ -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)