From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 19 Jul 2019 18:27:13 +0000 (-0700) Subject: Adjust builtins.zip() docstring to better communicate its signature (GH-14833) X-Git-Tag: v3.7.5rc1~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=843fd85cf7e7e139fd1cbaf0dc89cd8771609ec9;p=thirdparty%2FPython%2Fcpython.git Adjust builtins.zip() docstring to better communicate its signature (GH-14833) (cherry picked from commit af2f5b1723b95e45e1f15b5bd52102b7de560f7c) Co-authored-by: Sergey Fedoseev --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 8083ac961feb..12def95971a7 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2675,7 +2675,7 @@ static PyMethodDef zip_methods[] = { }; PyDoc_STRVAR(zip_doc, -"zip(iter1 [,iter2 [...]]) --> zip object\n\ +"zip(*iterables) --> zip object\n\ \n\ Return a zip object whose .__next__() method returns a tuple where\n\ the i-th element comes from the i-th iterable argument. The .__next__()\n\