From 93c1e236671cfe9d18bac3fcdaf64d340c1fa953 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 31 Mar 2002 16:06:11 +0000 Subject: Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored) --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12