From: Andrew Kuchling Date: Sat, 22 Jun 2013 23:20:54 +0000 (-0400) Subject: Closes #18220: expand itertools.islice docstring to 2 lines X-Git-Tag: v3.4.0a1~424^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da30acf50b4ccf6751cdd6c786cbab283865a79f;p=thirdparty%2FPython%2Fcpython.git Closes #18220: expand itertools.islice docstring to 2 lines --- diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 1494f8d6784c..bd10ee416adb 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -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\