diff options
author | Andrew Kuchling <amk@amk.ca> | 2013-06-21 11:58:35 (GMT) |
---|---|---|
committer | Andrew Kuchling <amk@amk.ca> | 2013-06-21 11:58:35 (GMT) |
commit | b003ffa0ab7b55d31980b983ad5db2cf5068edaf (patch) | |
tree | 2d4dba29ff42ca29e3d7f881da21e2fd527c2ed2 /Modules | |
parent | c3db3739aae4d28753776a5f30f21f5a04420151 (diff) | |
download | cpython-b003ffa0ab7b55d31980b983ad5db2cf5068edaf.zip cpython-b003ffa0ab7b55d31980b983ad5db2cf5068edaf.tar.gz cpython-b003ffa0ab7b55d31980b983ad5db2cf5068edaf.tar.bz2 |
Closes #18239: correct description of count() in module docstring
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/itertoolsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 644104e..401c684 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -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\ |