Remove extraneous format character from PyArg_ParseTuple call in
marshal_loads. Bugfix candidate.
This commit is contained in:
parent
f9d88ab39e
commit
01fca11080
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue