Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored)

This commit is contained in:
Neal Norwitz 2002-03-31 16:06:11 +00:00
parent 28faa1bf28
commit 93c1e23667
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@ bozo_func(PyObject *self, PyObject *args)
return NULL;
}
static PyMethodDef bozo_ml = {"__getstate__", bozo_func};
static PyMethodDef bozo_ml = {"__getstate__", bozo_func, METH_VARARGS};
static PyObject *bozo_obj = NULL;