commit | 93c1e236671cfe9d18bac3fcdaf64d340c1fa953 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Mar 31 16:06:11 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Mar 31 16:06:11 2002 +0000 |
tree | 6c61f6dac6b05a7e24f769baa28b422d9d686e68 | |
parent | 28faa1bf28b092e78bf040dd9dcc73efded527c6 [diff] [blame] |
Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored)
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index a596721..474a97c 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c
@@ -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;