summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-01 01:41:20 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-01 01:41:20 (GMT)
commit7829335763ef520b909d657525f8a0a6e7b759db (patch)
treeb5070ba7749daf5136937045d220d2e73324e283 /Python/pythonrun.c
parent02098fa56b49e4770328218fc335d64dc695975d (diff)
downloadcpython-7829335763ef520b909d657525f8a0a6e7b759db.zip
cpython-7829335763ef520b909d657525f8a0a6e7b759db.tar.gz
cpython-7829335763ef520b909d657525f8a0a6e7b759db.tar.bz2
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 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 */