summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-07-18 18:19:25 (GMT)
committerBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-07-18 18:19:25 (GMT)
commitaf2f5b1723b95e45e1f15b5bd52102b7de560f7c (patch)
treec56f7829a09c0212b4b8a0fbe6320803f4224e6e /Python
parent9cd39b16e2655f748f7aa8d20bca4812da00ba70 (diff)
downloadcpython-af2f5b1723b95e45e1f15b5bd52102b7de560f7c.zip
cpython-af2f5b1723b95e45e1f15b5bd52102b7de560f7c.tar.gz
cpython-af2f5b1723b95e45e1f15b5bd52102b7de560f7c.tar.bz2
Adjust builtins.zip() docstring to better communicate its signature (GH-14833)
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 65110d8..7f187ea 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2655,7 +2655,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\