[Python-checkins] CVS: python/dist/src/Doc/lib libexcs.tex,1.35,1.36

Fred L. Drake fdrake@users.sourceforge.net
Wed, 02 May 2001 21:30:47 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv23579/lib

Modified Files:
	libexcs.tex 
Log Message:

Add documentation for the StopIteration exception.


Index: libexcs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libexcs.tex,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** libexcs.tex	2000/12/19 04:27:54	1.35
--- libexcs.tex	2001/05/03 04:30:45	1.36
***************
*** 238,241 ****
--- 238,249 ----
  \end{excdesc}
  
+ \begin{excdesc}{StopIteration}
+   Raised by an iterator's \method{next()} method to signal that there
+   are no further values.
+   This is derived from \exception{Exception} rather than
+   \exception{StandardError}, since this is not considered an error in
+   its normal application.
+ \end{excdesc}
+ 
  \begin{excdesc}{SyntaxError}
  % XXXJH xref to these functions?