mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored)
This commit is contained in:
parent
28faa1bf28
commit
93c1e23667
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue