[Python-3000] Builtin iterator type

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Nov 15 03:35:21 CET 2006


George Sakkis wrote:

> Short answer: it doesn't. Only if you actually use the new API it matters, e.g.
> 
> for var in Iter(it1) + Iter(it2):

Which doesn't look any more readable to me than

   for var in chain(it1, it2):

In fact, it looks considerably *less* readable.

--
Greg


More information about the Python-3000 mailing list