Tuple comprehension

Alex Martelli aleax at aleax.it
Thu Apr 11 17:45:02 EDT 2002


Huaiyu Zhu wrote:
        ...
> One ancillary question: why xrange(n) is not iterator?

The Time Machine must have malfunctioned, I guess, so that, strangely 
enough, they were unable go back and design xrange as an iterator years 
before iterators were in the language...?


Alex




More information about the Python-list mailing list