Commit 3468d25a authored by Andrew Kuchling's avatar Andrew Kuchling

Merge from 3.3

parents 5e03e49c edb4260f
......@@ -278,7 +278,7 @@ loops that truncate the stream.
.. function:: count(start=0, step=1)
Make an iterator that returns evenly spaced values starting with *n*. Often
Make an iterator that returns evenly spaced values starting with number *start*. Often
used as an argument to :func:`map` to generate consecutive data points.
Also, used with :func:`zip` to add sequence numbers. Equivalent to::
......
......@@ -4452,7 +4452,7 @@ PyDoc_STRVAR(module_doc,
"Functional tools for creating and using iterators.\n\
\n\
Infinite iterators:\n\
count([n]) --> n, n+1, n+2, ...\n\
count(start=0, step=1) --> start, start+step, start+2*step, ...\n\
cycle(p) --> p0, p1, ... plast, p0, p1, ...\n\
repeat(elem [,n]) --> elem, elem, elem, ... endlessly or up to n times\n\
\n\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment