PEP 276 Simple Iterator for ints

Ken Seehof kseehof at
Wed Nov 14 23:27:12 CET 2001

If this was Perl, making an iterator for integers would be perfect.  It
for a minimalist expression regardless of consistency and intuitive appeal

   for i in 10: print i

- Ken

More information about the Python-list mailing list