Remove extraneous format character from PyArg_ParseTuple call in

marshal_loads.

Bugfix candidate.
This commit is contained in:
Michael W. Hudson 2005-06-13 17:50:18 +00:00
parent f9d88ab39e
commit 01fca11080
1 changed files with 1 additions and 1 deletions

View File

@ -1081,7 +1081,7 @@ marshal_loads(PyObject *self, PyObject *args)
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;