diff options
author | Michael W. Hudson <mwh@python.net> | 2005-06-13 17:50:18 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2005-06-13 17:50:18 (GMT) |
commit | 01fca110801d97166d8019db918d5c16e2a2c97b (patch) | |
tree | 8eae948d385e57f7759123d4bdea6132da15eb48 /Python/marshal.c | |
parent | f9d88ab39ec9009e5ec989885533e542079d2426 (diff) | |
download | cpython-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/marshal.c')
-rw-r--r-- | Python/marshal.c | 2 |
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; |