[Python-Dev] Adding start to enumerate() (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon May 12 02:21:00 CEST 2008


Steven D'Aprano wrote:

The only thing I can think of is printing lines with line numbers

Parsing a file and wanting to be able to print error messages with line numbers would seem to be a fairly likely use.

-- Greg



More information about the Python-Dev mailing list