From 099769c0e51a364d37f44c4f8a54b0df4735210b Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 10 Apr 2009 18:58:58 +0000 Subject: [PATCH] No start argument --- Doc/library/itertools.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 997e9af46bb..3ca83dcba38 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`` ================== ================= ================================================= =========================================