Mercurial > cpython-lru_cache-weakref
diff Python/marshal.c @ 35070:1332f2e705b2 legacy-trunk
Remove extraneous format character from PyArg_ParseTuple call in
marshal_loads.
Bugfix candidate.
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Mon, 13 Jun 2005 17:50:18 +0000 |
| parents | 8e9682fd57f8 |
| children | 835ab06984a9 |
line wrap: on
line diff
--- a/Python/marshal.c Mon Jun 13 01:10:15 2005 +0000 +++ b/Python/marshal.c Mon Jun 13 17:50:18 2005 +0000 @@ -1081,7 +1081,7 @@ 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;
