Skip to content

Commit

Permalink
Adjust builtins.zip() docstring to better communicate its signature (G…
Browse files Browse the repository at this point in the history
…H-14833)

(cherry picked from commit af2f5b1)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
  • Loading branch information
miss-islington and sir-sigurd committed Jul 19, 2019
1 parent 87b6078 commit 843fd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/bltinmodule.c
Expand Up @@ -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\
Expand Down

0 comments on commit 843fd85

Please sign in to comment.