summaryrefslogtreecommitdiffstats
path: root/Modules/cStringIO.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/cStringIO.c')
-rw-r--r--Modules/cStringIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c
index 068a835..1dbec84 100644
--- a/Modules/cStringIO.c
+++ b/Modules/cStringIO.c
@@ -376,7 +376,7 @@ O_write(Oobject *self, PyObject *args) {
char *c;
int l;
- UNLESS (PyArg_ParseTuple(args, "s#:write", &c, &l)) return NULL;
+ UNLESS (PyArg_ParseTuple(args, "t#:write", &c, &l)) return NULL;
if (O_cwrite((PyObject*)self,c,l) < 0) return NULL;