From a18af4e7a2091d11478754eb66ae387a85535763 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 21 Apr 2007 15:47:16 +0000 Subject: PEP 3114: rename .next() to .__next__() and add next() builtin. --- Doc/lib/libexcs.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Doc/lib/libexcs.tex') diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index 02e99a7983..d119ed9893 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -265,8 +265,8 @@ Raised when an \keyword{assert} statement fails. \end{excdesc} \begin{excdesc}{StopIteration} - Raised by an iterator's \method{next()} method to signal that there - are no further values. + Raised by builtin \function{next()} and 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. -- cgit v1.2.1