mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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;
|
||||
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…
Add table
Add a link
Reference in a new issue