diff Modules/itertoolsmodule.c @ 84236:ad0b44cdae41 3.3

Closes #18239: correct description of count() in module docstring
author Andrew Kuchling <amk@amk.ca>
date Fri, 21 Jun 2013 07:58:35 -0400
parents 7b75f0bd9a5e
children 1fad7a709aae
line wrap: on
line diff
--- a/Modules/itertoolsmodule.c	Thu Jun 20 21:33:05 2013 -0400
+++ b/Modules/itertoolsmodule.c	Fri Jun 21 07:58:35 2013 -0400
@@ -4452,7 +4452,7 @@
 "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\