[Python-checkins] cpython (3.3): Closes #18220: expand itertools.islice docstring to 2 lines
andrew.kuchling
python-checkins at python.org
Sun Jun 23 01:26:12 CEST 2013
http://hg.python.org/cpython/rev/7ecca1a98220
changeset: 84263:7ecca1a98220
branch: 3.3
user: Andrew Kuchling <amk at amk.ca>
date: Sat Jun 22 19:20:54 2013 -0400
summary:
Closes #18220: expand itertools.islice docstring to 2 lines
files:
Modules/itertoolsmodule.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -1554,7 +1554,8 @@
};
PyDoc_STRVAR(islice_doc,
-"islice(iterable, [start,] stop [, step]) --> islice object\n\
+"islice(iterable, stop) --> islice object\n\
+islice(iterable, start, stop[, step]) --> islice object\n\
\n\
Return an iterator whose next() method returns selected values from an\n\
iterable. If start is specified, will skip all preceding elements;\n\
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list