]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes #18239: correct description of count() in module docstring
authorAndrew Kuchling <amk@amk.ca>
Fri, 21 Jun 2013 11:58:35 +0000 (07:58 -0400)
committerAndrew Kuchling <amk@amk.ca>
Fri, 21 Jun 2013 11:58:35 +0000 (07:58 -0400)
Modules/itertoolsmodule.c

index 644104e85b7cc5e50b6b1737bb9a98be53cf1baf..401c684e5885bd04fe1b713de212472737a52a64 100644 (file)
@@ -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\