iters on ints? (reducing the need for range/xrange)

Michael Hudson mwh at python.net
Fri Nov 9 11:04:11 EST 2001


Paul Rubin <phr-n2001d at nightsong.com> writes:

> Really the ellipsis should make an iterator: for i in 0...10.

It's probably worth reading the rejected pep on range literals:

    http://python.sourceforge.net/peps/pep-0204.html

Cheers,
M.

-- 
  I would hereby duly point you at the website for the current pedal
  powered submarine world underwater speed record, except I've lost
  the URL.                                         -- Callas, cam.misc



More information about the Python-list mailing list