Message350704
In [3]: help(zip)
class zip(object)
| zip(*iterables) --> zip object
|
| Return a zip object whose .__next__() method returns a tuple where
| the i-th element comes from the i-th iterable argument. The .__next__()
| method continues until the shortest iterable in the argument sequence
| is exhausted and then it raises StopIteration.
This description is awkward and should use term 'iterator' as https://docs.python.org/3/library/functions.html#zip does.
The same applies to chain(), count() and zip_longest() from itertools. |
|
Date |
User |
Action |
Args |
2019-08-29 03:30:45 | sir-sigurd | set | recipients:
+ sir-sigurd, docs@python |
2019-08-29 03:30:45 | sir-sigurd | set | messageid: <1567049445.71.0.232910822835.issue37974@roundup.psfhosted.org> |
2019-08-29 03:30:45 | sir-sigurd | link | issue37974 messages |
2019-08-29 03:30:45 | sir-sigurd | create | |
|