[Python-checkins] r87986 - python/branches/py3k/Doc/library/itertools.rst

georg.brandl python-checkins at python.org
Thu Jan 13 08:31:18 CET 2011


Author: georg.brandl
Date: Thu Jan 13 08:31:18 2011
New Revision: 87986

Log:
Fix the example output of count().

Modified:
   python/branches/py3k/Doc/library/itertools.rst

Modified: python/branches/py3k/Doc/library/itertools.rst
==============================================================================
--- python/branches/py3k/Doc/library/itertools.rst	(original)
+++ python/branches/py3k/Doc/library/itertools.rst	Thu Jan 13 08:31:18 2011
@@ -246,7 +246,7 @@
 
       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


More information about the Python-checkins mailing list