We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
itertools
start
count
1 parent 2014c23 commit 883233dCopy full SHA for 883233d
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