diff Python/pythonrun.c @ 22721:253de588f2fb legacy-trunk

Get rid of another use of PyArg_Parse()
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 01 Apr 2002 01:41:20 +0000
parents eebae4f60d05
children d8bc68cb17e0
line wrap: on
line diff
--- a/Python/pythonrun.c	Mon Apr 01 01:37:14 2002 +0000
+++ b/Python/pythonrun.c	Mon Apr 01 01:41:20 2002 +0000
@@ -736,8 +736,8 @@
 
 	/* 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 */