Commit d72dfce2 authored by Neal Norwitz's avatar Neal Norwitz

Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored)

parent 3c904582
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment