diff options
Diffstat (limited to 'Modules/cStringIO.c')
-rw-r--r-- | Modules/cStringIO.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c index 5be59f4..749ebcb 100644 --- a/Modules/cStringIO.c +++ b/Modules/cStringIO.c @@ -617,7 +617,8 @@ IO_StringIO(PyObject *self, PyObject *args) { /* List of methods defined in the module */ static struct PyMethodDef IO_methods[] = { - {"StringIO", (PyCFunction)IO_StringIO, 1, IO_StringIO__doc__}, + {"StringIO", (PyCFunction)IO_StringIO, + METH_VARARGS, IO_StringIO__doc__}, {NULL, NULL} /* sentinel */ }; |