summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 59aabac..6c65700 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -1081,7 +1081,7 @@ marshal_loads(PyObject *self, PyObject *args)
char *s;
int n;
PyObject* result;
- if (!PyArg_ParseTuple(args, "s#|i:loads", &s, &n))
+ if (!PyArg_ParseTuple(args, "s#:loads", &s, &n))
return NULL;
rf.fp = NULL;
rf.ptr = s;