diff options
author | Raymond Hettinger <python@rcn.com> | 2009-04-10 18:58:58 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-04-10 18:58:58 (GMT) |
commit | 099769c0e51a364d37f44c4f8a54b0df4735210b (patch) | |
tree | 00a2ad1002d4e00f2d17f52b420e1707f9a4e2cd /Doc/library | |
parent | 92d1951f041f224440edca4f3a8f670f77ef38f8 (diff) | |
download | cpython-099769c0e51a364d37f44c4f8a54b0df4735210b.zip cpython-099769c0e51a364d37f44c4f8a54b0df4735210b.tar.gz cpython-099769c0e51a364d37f44c4f8a54b0df4735210b.tar.bz2 |
No start argument
Diffstat (limited to 'Doc/library')
-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 997e9af..3ca83dc 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -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`` ================== ================= ================================================= ========================================= |