Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored)
This commit is contained in:
parent
28faa1bf28
commit
93c1e23667
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue