Commit 8b2304ed authored by Neal Norwitz's avatar Neal Norwitz

Get rid of another use of PyArg_Parse()

parent 3e311bfd
...@@ -736,8 +736,8 @@ parse_syntax_error(PyObject *err, PyObject **message, char **filename, ...@@ -736,8 +736,8 @@ parse_syntax_error(PyObject *err, PyObject **message, char **filename,
/* old style errors */ /* old style errors */
if (PyTuple_Check(err)) if (PyTuple_Check(err))
return PyArg_Parse(err, "(O(ziiz))", message, filename, return PyArg_ParseTuple(err, "O(ziiz)", message, filename,
lineno, offset, text); lineno, offset, text);
/* new style errors. `err' is an instance */ /* new style errors. `err' is an instance */
......
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