[Python-checkins] python/dist/src/Python marshal.c,1.84,1.85

mwh@users.sourceforge.net mwh at users.sourceforge.net
Mon Jun 13 19:50:22 CEST 2005


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25670

Modified Files:
	marshal.c 
Log Message:
Remove extraneous format character from PyArg_ParseTuple call in
marshal_loads.

Bugfix candidate.


Index: marshal.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/marshal.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- marshal.c	3 Jun 2005 15:17:16 -0000	1.84
+++ marshal.c	13 Jun 2005 17:50:18 -0000	1.85
@@ -1081,7 +1081,7 @@
 	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;



More information about the Python-checkins mailing list