summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index a5967210cb..474a97c322 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;