summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-01 01:41:20 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-01 01:41:20 +0000
commit8b2304ed1d3c2f4f7f1dafb5cda86c01b8c489ad (patch)
tree2cc3b54542709c344f449a7393fcc10d30fb0cdd /Python/pythonrun.c
parent3e311bfd29e819ad01235b94b559af7dbada7362 (diff)
downloadcpython-8b2304ed1d3c2f4f7f1dafb5cda86c01b8c489ad.tar.gz
Get rid of another use of PyArg_Parse()
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c4
1 files changed, 2 insertions, 2 deletions
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 */