https://github.com/python/cpython/commit/3015191b29c9d69535ea63417c20d89008a73a76 commit: 3015191b29c9d69535ea63417c20d89008a73a76 branch: 3.8 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: GitHub <noreply at github.com> date: 2019年07月19日T11:29:58-07:00 summary: Adjust builtins.zip() docstring to better communicate its signature (GH-14833) (cherry picked from commit af2f5b1723b95e45e1f15b5bd52102b7de560f7c) Co-authored-by: Sergey Fedoseev <fedoseev.sergey at gmail.com> files: M Python/bltinmodule.c 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\