◐ Shell
clean mode source ↗

Issue 4513: Finish updating zip docstring

Issue4513

Created on 2008-12-04 01:52 by terry.reedy, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg76862 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2008-12-04 01:52
>>> help(zip) #3.0

class zip(object)
 |  zip(iter1 [,iter2 [...]]) --> zip object
 |  
 |  Return a zip object whose .__next__() method ... StopIteration.  

 | Works like the zip()
 |  function but consumes less memory by returning an iterator instead of
 |  a list.

The last sentence is left over from when 3.0 zip was itertools.izip.
Just delete it.
msg76914 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-12-04 18:28
Fixed in r67529.
History
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48763
2008-12-04 18:28:46georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg76914
2008-12-04 01:52:42terry.reedycreate