[Python-checkins] cpython (3.3): Closes #18239: correct description of count() in module docstring

andrew.kuchling python-checkins at python.org
Fri Jun 21 14:05:58 CEST 2013


http://hg.python.org/cpython/rev/ad0b44cdae41
changeset:   84236:ad0b44cdae41
branch:      3.3
parent:      84233:2a3bc6eb2e13
user:        Andrew Kuchling <amk at amk.ca>
date:        Fri Jun 21 07:58:35 2013 -0400
summary:
  Closes #18239: correct description of count() in module docstring

files:
  Modules/itertoolsmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -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\

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list