No start argument

This commit is contained in:
Raymond Hettinger 2009-04-10 18:58:58 +00:00
parent 92d1951f04
commit 099769c0e5
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ operator can be mapped across two vectors to form an efficient dot-product:
================== ================= ================================================= ========================================= ================== ================= ================================================= =========================================
Iterator Arguments Results Example 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:`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`` :func:`repeat` elem [,n] elem, elem, elem, ... endlessly or up to n times ``repeat(10, 3) --> 10 10 10``
================== ================= ================================================= ========================================= ================== ================= ================================================= =========================================