From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 19 Jul 2019 18:29:58 +0000 (-0700) Subject: Adjust builtins.zip() docstring to better communicate its signature (GH-14833) X-Git-Tag: v3.8.0b3~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3015191b29c9d69535ea63417c20d89008a73a76;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 82ae7116841b..62502218ef4c 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2656,7 +2656,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\