Skip to content

Commit af2f5b1

Browse files
sir-sigurdbrettcannon
authored andcommitted
Adjust builtins.zip() docstring to better communicate its signature (GH-14833)
1 parent 9cd39b1 commit af2f5b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/bltinmodule.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2655,7 +2655,7 @@ static PyMethodDef zip_methods[] = {
26552655
};
26562656

26572657
PyDoc_STRVAR(zip_doc,
2658-
"zip(iter1 [,iter2 [...]]) --> zip object\n\
2658+
"zip(*iterables) --> zip object\n\
26592659
\n\
26602660
Return a zip object whose .__next__() method returns a tuple where\n\
26612661
the i-th element comes from the i-th iterable argument. The .__next__()\n\

0 commit comments

Comments
 (0)