diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 64418e4..b22009d 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 */ |