Mailing List Archive

CVS: python/dist/src/Python pythonrun.c,2.156,2.157
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv8937/Python

Modified Files:
pythonrun.c
Log Message:
Get rid of another use of PyArg_Parse()

Index: pythonrun.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pythonrun.c,v
retrieving revision 2.156
retrieving revision 2.157
diff -C2 -d -r2.156 -r2.157
*** pythonrun.c 22 Mar 2002 23:53:36 -0000 2.156
--- pythonrun.c 1 Apr 2002 01:41:20 -0000 2.157
***************
*** 737,742 ****
/* old style errors */
if (PyTuple_Check(err))
! return PyArg_Parse(err, "(O(ziiz))", message, filename,
! lineno, offset, text);

/* new style errors. `err' is an instance */
--- 737,742 ----
/* old style errors */
if (PyTuple_Check(err))
! return PyArg_ParseTuple(err, "O(ziiz)", message, filename,
! lineno, offset, text);

/* new style errors. `err' is an instance */