[Python-ideas] Consider making enumerate a sequence if its argument is a sequence

Steven D'Aprano steve at pearwood.info
Fri Oct 2 05:49:36 CEST 2015


On Fri, Oct 02, 2015 at 05:13:39AM +0300, Akira Li wrote:

> I still don't see a practical need to avoid the word "iterable" unless
> new requirements (in addition to being non-iterator) are present.

I don't think anyone has suggested that we should avoid the word 
iterable. At most, some have suggested that we don't have a good 
word for those iterables which are not iterators.

-- 
Steve


More information about the Python-ideas mailing list