From 01fca110801d97166d8019db918d5c16e2a2c97b Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Mon, 13 Jun 2005 17:50:18 +0000 Subject: [PATCH] Remove extraneous format character from PyArg_ParseTuple call in marshal_loads. Bugfix candidate. --- Python/marshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/marshal.c b/Python/marshal.c index 59aabacabf..6c65700966 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -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; -- 2.40.0