diff options
Diffstat (limited to 'Modules/sgimodule.c')
-rw-r--r-- | Modules/sgimodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/sgimodule.c b/Modules/sgimodule.c index 7ec43d3..4c96f04 100644 --- a/Modules/sgimodule.c +++ b/Modules/sgimodule.c @@ -42,8 +42,8 @@ sgi__getpty(PyObject *self, PyObject *args) } static PyMethodDef sgi_methods[] = { - {"nap", sgi_nap}, - {"_getpty", sgi__getpty}, + {"nap", sgi_nap, METH_OLDARGS}, + {"_getpty", sgi__getpty, METH_OLDARGS}, {NULL, NULL} /* sentinel */ }; |