mirror of https://github.com/python/cpython
The previous checkin contained an experiment of Greg Stein's that wasn't
meant for checkin, and which broke marshal.loads().
This commit is contained in:
parent
0f8b30f8ce
commit
5bd893b1ea
|
@ -743,7 +743,7 @@ marshal_loads(self, args)
|
|||
PyObject *v;
|
||||
char *s;
|
||||
int n;
|
||||
if (!PyArg_Parse(args, "r#", &s, &n))
|
||||
if (!PyArg_Parse(args, "s#", &s, &n))
|
||||
return NULL;
|
||||
rf.fp = NULL;
|
||||
rf.str = args;
|
||||
|
|
Loading…
Reference in New Issue