Adjust builtins.zip() docstring to better communicate its signature (GH-14833)

(cherry picked from commit af2f5b1723)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
This commit is contained in:
Miss Islington (bot) 2019-07-19 11:29:58 -07:00 committed by GitHub
parent e5bfd1ce9d
commit 3015191b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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\