[Python-checkins] CVS: python/dist/src/Include pyerrors.h,2.44,2.44.2.1
Guido van Rossum
gvanrossum@usw-pr-cvs1.sourceforge.net
2001年3月14日 08:17:29 -0800
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv28608/Include
Modified Files:
Tag: iter-branch
pyerrors.h
Log Message:
Switch from IndexError to StopIteration to end the sequence.
Index: pyerrors.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyerrors.h,v
retrieving revision 2.44
retrieving revision 2.44.2.1
diff -C2 -r2.44 -r2.44.2.1
*** pyerrors.h 2001年02月28日 21:44:20 2.44
--- pyerrors.h 2001年03月14日 16:17:27 2.44.2.1
***************
*** 25,28 ****
--- 25,29 ----
extern DL_IMPORT(PyObject *) PyExc_Exception;
+ extern DL_IMPORT(PyObject *) PyExc_StopIteration;
extern DL_IMPORT(PyObject *) PyExc_StandardError;
extern DL_IMPORT(PyObject *) PyExc_ArithmeticError;