diff options
Diffstat (limited to 'Modules/rgbimgmodule.c')
-rw-r--r-- | Modules/rgbimgmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/rgbimgmodule.c b/Modules/rgbimgmodule.c index 304dbd6..828577f 100644 --- a/Modules/rgbimgmodule.c +++ b/Modules/rgbimgmodule.c @@ -743,10 +743,10 @@ ttob(PyObject *self, PyObject *args) static PyMethodDef rgbimg_methods[] = { - {"sizeofimage", sizeofimage}, - {"longimagedata", longimagedata}, - {"longstoimage", longstoimage}, - {"ttob", ttob}, + {"sizeofimage", sizeofimage, METH_OLDARGS}, + {"longimagedata", longimagedata, METH_OLDARGS}, + {"longstoimage", longstoimage, METH_OLDARGS}, + {"ttob", ttob, METH_OLDARGS}, {NULL, NULL} /* sentinel */ }; |