Rob Gaddi <rgaddi@highlandtechnology.invalid>:

> Marko Rauhamaa wrote:
>> There's a bit of a cognitive dissonance between iterables and iterators.
>> On the one hand, they behave identically in many contexts. On the other
>> hand, the distinction is crucial in some special cases.
>
> You're missing a key point.  All (well-behaved) iterators are iterables,
> with their __iter__ method returning themselves.

I don't know what I'm missing.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to