Raymond Hettinger wrote:
> In the case of iter(collection), I prefer the current wording because the 
> target object need not support __iter__, it is sufficient 
> to supply a sequential __getitem__ method.

Seems to me that should be included in the definition of
an iterable -- i.e. anything for which iter() works is
an iterable.

--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to