Commit 01fca110 authored by Michael W. Hudson's avatar Michael W. Hudson

Remove extraneous format character from PyArg_ParseTuple call in

marshal_loads.

Bugfix candidate.
parent f9d88ab3
...@@ -1081,7 +1081,7 @@ marshal_loads(PyObject *self, PyObject *args) ...@@ -1081,7 +1081,7 @@ marshal_loads(PyObject *self, PyObject *args)
char *s; char *s;
int n; int n;
PyObject* result; PyObject* result;
if (!PyArg_ParseTuple(args, "s#|i:loads", &s, &n)) if (!PyArg_ParseTuple(args, "s#:loads", &s, &n))
return NULL; return NULL;
rf.fp = NULL; rf.fp = NULL;
rf.ptr = s; rf.ptr = s;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment