Mercurial > cpython-lru_cache-weakref
diff Objects/typeobject.c @ 22713:cc8b73040e83 legacy-trunk
Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored)
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 31 Mar 2002 16:06:11 +0000 |
| parents | ddc9543c76a0 |
| children | 314e1416aa5d |
line wrap: on
line diff
--- a/Objects/typeobject.c Sun Mar 31 15:56:56 2002 +0000 +++ b/Objects/typeobject.c Sun Mar 31 16:06:11 2002 +0000 @@ -878,7 +878,7 @@ return NULL; } -static PyMethodDef bozo_ml = {"__getstate__", bozo_func}; +static PyMethodDef bozo_ml = {"__getstate__", bozo_func, METH_VARARGS}; static PyObject *bozo_obj = NULL;
