diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-01 01:41:20 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-01 01:41:20 (GMT) |
commit | 7829335763ef520b909d657525f8a0a6e7b759db (patch) | |
tree | b5070ba7749daf5136937045d220d2e73324e283 | |
parent | 02098fa56b49e4770328218fc335d64dc695975d (diff) | |
download | cpython-7829335763ef520b909d657525f8a0a6e7b759db.zip cpython-7829335763ef520b909d657525f8a0a6e7b759db.tar.gz cpython-7829335763ef520b909d657525f8a0a6e7b759db.tar.bz2 |
Get rid of another use of PyArg_Parse()
-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 */ |