summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-19 18:29:58 (GMT)
committerGitHub <noreply@github.com>2019-07-19 18:29:58 (GMT)
commit3015191b29c9d69535ea63417c20d89008a73a76 (patch)
tree37bb32ddafdf15788741f740fc1684ec99bb2dd7 /Python/bltinmodule.c
parente5bfd1ce9da51b64d157392e0a831637f7335ff5 (diff)
downloadcpython-3015191b29c9d69535ea63417c20d89008a73a76.zip
cpython-3015191b29c9d69535ea63417c20d89008a73a76.tar.gz
cpython-3015191b29c9d69535ea63417c20d89008a73a76.tar.bz2
Adjust builtins.zip() docstring to better communicate its signature (GH-14833)
(cherry picked from commit af2f5b1723b95e45e1f15b5bd52102b7de560f7c) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 82ae711..6250221 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\