From: Michael W. Hudson Date: Mon, 13 Jun 2005 17:50:18 +0000 (+0000) Subject: Remove extraneous format character from PyArg_ParseTuple call in X-Git-Tag: v2.5a0~1705 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01fca110801d97166d8019db918d5c16e2a2c97b;p=thirdparty%2FPython%2Fcpython.git Remove extraneous format character from PyArg_ParseTuple call in marshal_loads. Bugfix candidate. --- diff --git a/Python/marshal.c b/Python/marshal.c index 59aabacabf4d..6c6570096673 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;