Commit da30acf5 authored by Andrew Kuchling's avatar Andrew Kuchling

Closes #18220: expand itertools.islice docstring to 2 lines

parent 446a39f7
......@@ -1554,7 +1554,8 @@ static PyMethodDef islice_methods[] = {
};
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\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment