PEP 276 Simple Iterator for ints (fwd)

Greg Ewing greg at
Tue Nov 27 02:14:37 CET 2001

While trying to think of a range syntax that looks
unambiguously half-open without clashing with list
or tuple constructors, the following blindingly
obvious solution occurred to me:

  for 0 <= i < 5:

Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:

More information about the Python-list mailing list