From: Neal Norwitz Date: Mon, 1 Apr 2002 01:41:20 +0000 (+0000) Subject: Get rid of another use of PyArg_Parse() X-Git-Tag: v2.3c1~6204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7829335763ef520b909d657525f8a0a6e7b759db;p=python Get rid of another use of PyArg_Parse() --- diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 64418e417d..b22009db17 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -736,8 +736,8 @@ parse_syntax_error(PyObject *err, PyObject **message, char **filename, /* old style errors */ if (PyTuple_Check(err)) - return PyArg_Parse(err, "(O(ziiz))", message, filename, - lineno, offset, text); + return PyArg_ParseTuple(err, "O(ziiz)", message, filename, + lineno, offset, text); /* new style errors. `err' is an instance */