diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 16:06:11 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 16:06:11 (GMT) |
commit | 93c1e236671cfe9d18bac3fcdaf64d340c1fa953 (patch) | |
tree | 6c61f6dac6b05a7e24f769baa28b422d9d686e68 /Objects | |
parent | 28faa1bf28b092e78bf040dd9dcc73efded527c6 (diff) | |
download | cpython-93c1e236671cfe9d18bac3fcdaf64d340c1fa953.zip cpython-93c1e236671cfe9d18bac3fcdaf64d340c1fa953.tar.gz cpython-93c1e236671cfe9d18bac3fcdaf64d340c1fa953.tar.bz2 |
Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; |