Pre-PEP: reverse iteration methods
tjreedy at udel.edu
Wed Sep 24 04:01:40 CEST 2003
"Raymond Hettinger" <vze4rx4y at verizon.net> wrote in message
news:HA5cb.185$kD3.168 at nwrdny03.gnilink.net...
> for i in xrange(n).iter_backwards():
> print seqn[i]
> for elem in seqn.iter_backwards():
> print elem
I would prefer a much shorter name, such as riter for reverse/right
iter. This goes along with current nomenclature such as rfind, etc.
Terry J. Reedy
More information about the Python-list