summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2005-06-13 17:50:18 +0000
committerMichael W. Hudson <mwh@python.net>2005-06-13 17:50:18 +0000
commit01fca110801d97166d8019db918d5c16e2a2c97b (patch)
tree8eae948d385e57f7759123d4bdea6132da15eb48 /Python/marshal.c
parentf9d88ab39ec9009e5ec989885533e542079d2426 (diff)
downloadcpython-git-01fca110801d97166d8019db918d5c16e2a2c97b.tar.gz
Remove extraneous format character from PyArg_ParseTuple call in
marshal_loads. Bugfix candidate.
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 59aabacabf..6c65700966 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;