diff options
author | Georg Brandl <georg@python.org> | 2011-01-13 07:31:18 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-01-13 07:31:18 (GMT) |
commit | 37a80dc7bcba6eb63ee2a18c9262f1a8e3da9e45 (patch) | |
tree | 7496c7f96724f80d67ae1a80b1e1b194cfd2fadd /Doc | |
parent | ee31e31db31b52e20d37ae0c6848e8d5fab683cf (diff) | |
download | cpython-37a80dc7bcba6eb63ee2a18c9262f1a8e3da9e45.zip cpython-37a80dc7bcba6eb63ee2a18c9262f1a8e3da9e45.tar.gz cpython-37a80dc7bcba6eb63ee2a18c9262f1a8e3da9e45.tar.bz2 |
Fix the example output of count().
Diffstat (limited to 'Doc')
-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 69e5109..757823d 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -246,7 +246,7 @@ loops that truncate the stream. def count(start=0, step=1): # count(10) --> 10 11 12 13 14 ... - # count(2.5, 0.5) -> 3.5 3.0 4.5 ... + # count(2.5, 0.5) -> 2.5 3.0 3.5 ... n = start while True: yield n |