[Python-Dev] enumerate with a start index

Lisandro Dalcin dalcinl at gmail.com
Thu Oct 20 19:04:03 CEST 2005


On 10/19/05, Martin Blais <blais at furius.ca> wrote:
> Just wondering, would anyone think of it as a good idea if the
> enumerate() builtin could accept a "start" argument?

And why not an additional "step" argument? Anyway, perhaps all this
can be done with a 'xrange' object...


--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594


More information about the Python-Dev mailing list