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:
Guido van Rossum 1998-10-08 01:45:47 +00:00
parent 0f8b30f8ce
commit 5bd893b1ea
1 changed files with 1 additions and 1 deletions

View File

@ -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;