Calvin Spealman wrote: > This might indicate that it is using "collection" where I would say > "iterable". Also, the same docstring makes mention of something being > an iterator _or_ a sequence, so I also should bring up that it may be > antiquated, yes?
http://docs.python.org/dev/lib/typeiter.html That page describes the same two categories you do, but doesn't actually use the word 'iterable' for the first category (i.e. anything with an __iter__ method). So, yes, I think updating the docs to use the common terminology for both categories would be a good thing. Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org _______________________________________________ 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