]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
No start argument
authorRaymond Hettinger <python@rcn.com>
Fri, 10 Apr 2009 18:58:58 +0000 (18:58 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 10 Apr 2009 18:58:58 +0000 (18:58 +0000)
Doc/library/itertools.rst

index 997e9af46bb185ad32d2ee0bfa88447c0d3fff10..3ca83dcba38a7053d02656d85709c583b99e70ed 100644 (file)
@@ -39,7 +39,7 @@ operator can be mapped across two vectors to form an efficient dot-product:
 ==================  =================       =================================================               =========================================
 Iterator            Arguments               Results                                                         Example
 ==================  =================       =================================================               =========================================
-:func:`count`       start, [step]           start, start+step, start+2*step, ...                            ``count(10) --> 10 11 12 13 14 ...``
+:func:`count`       start                   start, start+1, start+2, ...                                    ``count(10) --> 10 11 12 13 14 ...``
 :func:`cycle`       p                       p0, p1, ... plast, p0, p1, ...                                  ``cycle('ABCD') --> A B C D A B C D ...``
 :func:`repeat`      elem [,n]               elem, elem, elem, ... endlessly or up to n times                ``repeat(10, 3) --> 10 10 10``
 ==================  =================       =================================================               =========================================