mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +00:00
Remove extraneous format character from PyArg_ParseTuple call in
marshal_loads. Bugfix candidate.
This commit is contained in:
parent
f9d88ab39e
commit
01fca11080
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue