Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ced51db

Browse files
committed
#4513: remove traces of zip() docstring from when it was izip().
1 parent 83ebf38 commit ced51db

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,9 +2178,7 @@ PyDoc_STRVAR(zip_doc,
21782178
Return a zip object whose .__next__() method returns a tuple where\n\
21792179
the i-th element comes from the i-th iterable argument. The .__next__()\n\
21802180
method continues until the shortest iterable in the argument sequence\n\
2181-
is exhausted and then it raises StopIteration. Works like the zip()\n\
2182-
function but consumes less memory by returning an iterator instead of\n\
2183-
a list.");
2181+
is exhausted and then it raises StopIteration.");
21842182

21852183
PyTypeObject PyZip_Type = {
21862184
PyVarObject_HEAD_INIT(&PyType_Type, 0)

0 commit comments

Comments
 (0)