Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 26592:0c646baeec58 legacy-trunk
Update comments about the performance of xrange().
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Wed, 11 Dec 2002 07:14:03 +0000 |
| parents | 643100170bde |
| children | 8dd25a6f5913 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Wed Dec 11 04:42:39 2002 +0000 +++ b/Doc/lib/libstdtypes.tex Wed Dec 11 07:14:03 2002 +0000 @@ -884,8 +884,8 @@ size of the range it represents. There are no consistent performance advantages. -XRange objects have very little behavior: they only support indexing -and the \function{len()} function. +XRange objects have very little behavior: they only support indexing, +iteration, and the \function{len()} function. \subsubsection{Mutable Sequence Types \label{typesseq-mutable}}
