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;
|
char *s;
|
||||||
int n;
|
int n;
|
||||||
PyObject* result;
|
PyObject* result;
|
||||||
if (!PyArg_ParseTuple(args, "s#|i:loads", &s, &n))
|
if (!PyArg_ParseTuple(args, "s#:loads", &s, &n))
|
||||||
return NULL;
|
return NULL;
|
||||||
rf.fp = NULL;
|
rf.fp = NULL;
|
||||||
rf.ptr = s;
|
rf.ptr = s;
|
||||||
|
|
Loading…
Reference in New Issue