]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Adjust builtins.zip() docstring to better communicate its signature (GH-14833)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Jul 2019 18:27:13 +0000 (11:27 -0700)
committerGitHub <noreply@github.com>
Fri, 19 Jul 2019 18:27:13 +0000 (11:27 -0700)
(cherry picked from commit af2f5b1723b95e45e1f15b5bd52102b7de560f7c)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Python/bltinmodule.c

index 8083ac961feb552173bb7dc2038b805708259b37..12def95971a7bebe5e9801c46a8ae3f82cd27f42 100644 (file)
@@ -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\