summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2005-06-13 17:50:18 (GMT)
committerMichael W. Hudson <mwh@python.net>2005-06-13 17:50:18 (GMT)
commit01fca110801d97166d8019db918d5c16e2a2c97b (patch)
tree8eae948d385e57f7759123d4bdea6132da15eb48 /Python
parentf9d88ab39ec9009e5ec989885533e542079d2426 (diff)
downloadcpython-01fca110801d97166d8019db918d5c16e2a2c97b.zip
cpython-01fca110801d97166d8019db918d5c16e2a2c97b.tar.gz
cpython-01fca110801d97166d8019db918d5c16e2a2c97b.tar.bz2
Remove extraneous format character from PyArg_ParseTuple call in
marshal_loads. Bugfix candidate.
Diffstat (limited to 'Python')
-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;