Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5bd893b

Browse files
committed
The previous checkin contained an experiment of Greg Stein's that wasn't
meant for checkin, and which broke marshal.loads().
1 parent 0f8b30f commit 5bd893b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/marshal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ marshal_loads(self, args)
743743
PyObject *v;
744744
char *s;
745745
int n;
746-
if (!PyArg_Parse(args, "r#", &s, &n))
746+
if (!PyArg_Parse(args, "s#", &s, &n))
747747
return NULL;
748748
rf.fp = NULL;
749749
rf.str = args;

0 commit comments

Comments
 (0)