diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/cStringIO.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c index 2d7c940..494d895 100644 --- a/Modules/cStringIO.c +++ b/Modules/cStringIO.c @@ -565,7 +565,7 @@ static PyObject * IO_StringIO(PyObject *self, PyObject *args) { PyObject *s=0; - UNLESS(PyArg_ParseTuple(args, "|O", &s)) return NULL; + UNLESS(PyArg_ParseTuple(args, "|S", &s)) return NULL; if(s) return newIobject(s); return newOobject(128); } |