PEP 234: Iterators

Bernhard Herzog bh at
Sat May 5 19:21:19 CEST 2001

Just van Rossum <just at> writes:

> the xrange object supports random access, whereas an iterator does
> not.

Well, I see no reason why an iterator object couldn't provide random
access in addition to the iterator interface.


Intevation GmbH                       

More information about the Python-list mailing list