diff options
author | Fred Drake <fdrake@acm.org> | 2001-05-03 04:30:45 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-05-03 04:30:45 (GMT) |
commit | 9cfe1824c2cf2eb3592e13d1f3ac140cd0279cdf (patch) | |
tree | b1a833b887c4d7e8fb2b490ceaca2532559cff99 /Doc/lib/libexcs.tex | |
parent | 287c4cb43a7964313aef6b7ac809670d6d5165ae (diff) | |
download | cpython-9cfe1824c2cf2eb3592e13d1f3ac140cd0279cdf.zip cpython-9cfe1824c2cf2eb3592e13d1f3ac140cd0279cdf.tar.gz cpython-9cfe1824c2cf2eb3592e13d1f3ac140cd0279cdf.tar.bz2 |
Add documentation for the StopIteration exception.
Diffstat (limited to 'Doc/lib/libexcs.tex')
-rw-r--r-- | Doc/lib/libexcs.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index 30b4ef5..eb043fc 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -237,6 +237,14 @@ Raised when an \keyword{assert} statement fails. more.) \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? Raised when the parser encounters a syntax error. This may occur in |