diff options
author | Raymond Hettinger <python@rcn.com> | 2002-12-11 07:14:03 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-12-11 07:14:03 (GMT) |
commit | d2bef8256bf7ce6bea7a80074cbd021b5af154af (patch) | |
tree | 01f2b6099c00576e342fd4b85beaf1363029c0cd /Doc/lib | |
parent | 39c7b4596483b6f6437667aa7bf5bb4f12d374f0 (diff) | |
download | cpython-d2bef8256bf7ce6bea7a80074cbd021b5af154af.zip cpython-d2bef8256bf7ce6bea7a80074cbd021b5af154af.tar.gz cpython-d2bef8256bf7ce6bea7a80074cbd021b5af154af.tar.bz2 |
Update comments about the performance of xrange().
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libstdtypes.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 4372ec1..a104d85 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -884,8 +884,8 @@ xrange object will always take the same amount of memory, no matter the 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}} |