[Python-ideas] Consider making enumerate a sequence if its argument is a sequence
Michael Selik
mike at selik.org
Wed Nov 4 22:45:01 EST 2015
On 02.10.2015 05:49, Steven D'Aprano wrote:
> At most, some have suggested that we don't have a good
> word for those iterables which are not iterators.
Isn't that a "sequence"? The collections module defines a Sequence as
having a __getitem__ and __len__. Is a "non-iterator iterable" something
different?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20151105/60b19d47/attachment.html>
More information about the Python-ideas
mailing list