summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-03 04:39:10 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-03 04:39:10 (GMT)
commitf42cc45f1b4c7a1e21d86abbccdb1aa9185cbaab (patch)
tree55896c7d4ba76d8c8ac1d999440b3410f9bc99e6 /Doc/lib
parent9cfe1824c2cf2eb3592e13d1f3ac140cd0279cdf (diff)
downloadcpython-f42cc45f1b4c7a1e21d86abbccdb1aa9185cbaab.zip
cpython-f42cc45f1b4c7a1e21d86abbccdb1aa9185cbaab.tar.gz
cpython-f42cc45f1b4c7a1e21d86abbccdb1aa9185cbaab.tar.bz2
The general iteration support is part of 2.2, not 2.1 -- fixed the version
annotations! Also fixed a typo noted by Neil S.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libexcs.tex1
-rw-r--r--Doc/lib/libstdtypes.tex4
2 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index eb043fc..7e34bd0 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -243,6 +243,7 @@ Raised when an \keyword{assert} statement fails.
This is derived from \exception{Exception} rather than
\exception{StandardError}, since this is not considered an error in
its normal application.
+ \versionadded{2.2}
\end{excdesc}
\begin{excdesc}{SyntaxError}
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 69f10d3..da8e61f 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -315,7 +315,7 @@ division by \code{pow(2, \var{n})} without overflow check.
\subsection{Iterator Types \label{typeiter}}
-\versionadded{2.1}
+\versionadded{2.2}
\index{iterator protocol}
\index{protocol!iterator}
\index{sequence!iteration}
@@ -351,7 +351,7 @@ two methods, which together form the \dfn{iterator protocol}:
the Python/C API.
\end{methoddesc}
-\begin{methoddesc}[iteratpr]{next}{}
+\begin{methoddesc}[iterator]{next}{}
Return the next item from the container. If there are no further
items, raise the \exception{StopIteration} exception. This method
corresponds to the \member{tp_iternext} slot of the type structure