diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2011-12-25 16:26:09 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2011-12-25 16:26:09 (GMT) |
commit | 54af1ba32616eb4357985e5d38a72d23d356b7b9 (patch) | |
tree | e8ded52b0caa9cfc1c8f4f407e31acb35b6ec606 | |
parent | 2d0e48b6fdaec5bddf3a15ade37b1b49675eaf15 (diff) | |
parent | 7386662699daa0ee0e8fb42a94954c404860c4a6 (diff) | |
download | cpython-54af1ba32616eb4357985e5d38a72d23d356b7b9.zip cpython-54af1ba32616eb4357985e5d38a72d23d356b7b9.tar.gz cpython-54af1ba32616eb4357985e5d38a72d23d356b7b9.tar.bz2 |
merge with 3.2
-rw-r--r-- | Doc/library/itertools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 7b5922a..3f5c4ea 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -457,7 +457,7 @@ loops that truncate the stream. if r > n: return indices = list(range(n)) - cycles = range(n, n-r, -1) + cycles = list(range(n, n-r, -1)) yield tuple(pool[i] for i in indices[:r]) while n: for i in reversed(range(r)): |