Commit af2f5b17 authored by Sergey Fedoseev's avatar Sergey Fedoseev Committed by Brett Cannon

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

parent 9cd39b16
...@@ -2655,7 +2655,7 @@ static PyMethodDef zip_methods[] = { ...@@ -2655,7 +2655,7 @@ static PyMethodDef zip_methods[] = {
}; };
PyDoc_STRVAR(zip_doc, PyDoc_STRVAR(zip_doc,
"zip(iter1 [,iter2 [...]]) --> zip object\n\ "zip(*iterables) --> zip object\n\
\n\ \n\
Return a zip object whose .__next__() method returns a tuple where\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\ the i-th element comes from the i-th iterable argument. The .__next__()\n\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment