]> granicus.if.org Git - python/commitdiff
Adjust builtins.zip() docstring to better communicate its signature (GH-14833)
authorSergey Fedoseev <fedoseev.sergey@gmail.com>
Thu, 18 Jul 2019 18:19:25 +0000 (23:19 +0500)
committerBrett Cannon <54418+brettcannon@users.noreply.github.com>
Thu, 18 Jul 2019 18:19:25 +0000 (11:19 -0700)
Python/bltinmodule.c

index 65110d8d12c6255cc40e39dda53c633db69919ee..7f187eacd169777cd1c3c50de4f94847a8e185f5 100644 (file)
@@ -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\