diff Python/marshal.c @ 9300:690348243800 legacy-trunk

The previous checkin contained an experiment of Greg Stein's that wasn't meant for checkin, and which broke marshal.loads().
author Guido van Rossum <guido@python.org>
date Thu, 08 Oct 1998 01:45:47 +0000
parents 0a67db47e1d0
children 513354d87a85
line wrap: on
line diff
--- a/Python/marshal.c	Thu Oct 08 01:44:41 1998 +0000
+++ b/Python/marshal.c	Thu Oct 08 01:45:47 1998 +0000
@@ -743,7 +743,7 @@
 	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;