Dave Kuhlman wrote:
> I thought xrange() returned an iterator.  I was wrong.
> 
> Actually xrange() returns an xrange object which, according to the
> docs, is "an opaque sequence".

Interesting. So an xrange object is an iterable sequence, not an iterator.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to