Word for a non-iterator iterable?

vincent wehren vincent at visualtrans.de
Sun Feb 6 03:30:49 EST 2005


Leif K-Brooks wrote:
> Is there a word for an iterable object which isn't also an iterator, and 
> therefor can be iterated over multiple times without being exhausted? 
> "Sequence" is close, but a non-iterator iterable could technically 
> provide an __iter__ method without implementing the sequence protocol, 
> so it's not quite right.

How about 'reiterable'?

--
Vincent Wehren



More information about the Python-list mailing list