Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 17663:d76649bd38d0 legacy-trunk
The general iteration support is part of 2.2, not 2.1 -- fixed the version
annotations!
Also fixed a typo noted by Neil S.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 03 May 2001 04:39:10 +0000 |
| parents | d6498b1ef50d |
| children | 178bedf9536d |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Thu May 03 04:30:45 2001 +0000 +++ b/Doc/lib/libstdtypes.tex Thu May 03 04:39:10 2001 +0000 @@ -315,7 +315,7 @@ \subsection{Iterator Types \label{typeiter}} -\versionadded{2.1} +\versionadded{2.2} \index{iterator protocol} \index{protocol!iterator} \index{sequence!iteration} @@ -351,7 +351,7 @@ 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
