There was an error while loading. Please reload this page.
itertools
start
count
1 parent 21f068d commit ee2d22fCopy full SHA for ee2d22f
1 file changed
Doc/library/itertools.rst
@@ -41,7 +41,7 @@ operator can be mapped across two vectors to form an efficient dot-product:
41
================== ================= ================================================= =========================================
42
Iterator Arguments Results Example
43
44
-:func:`count` start, [step] start, start+step, start+2*step, ... ``count(10) --> 10 11 12 13 14 ...``
+:func:`count` [start[, step]] start, start+step, start+2*step, ... ``count(10) --> 10 11 12 13 14 ...``
45
:func:`cycle` p p0, p1, ... plast, p0, p1, ... ``cycle('ABCD') --> A B C D A B C D ...``
46
:func:`repeat` elem [,n] elem, elem, elem, ... endlessly or up to n times ``repeat(10, 3) --> 10 10 10``
47
0 commit comments