Re: [Python-Dev] enumerate with a start index

2005-10-20 Thread Lisandro Dalcin
On 10/19/05, Martin Blais <[EMAIL PROTECTED]> 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Ă­

Re: [Python-Dev] enumerate with a start index

2005-10-19 Thread Josiah Carlson
Michel Pelletier <[EMAIL PROTECTED]> wrote: > > Martin Blais wrote: > > Hi > > > > Just wondering, would anyone think of it as a good idea if the > > enumerate() builtin could accept a "start" argument? I've run across > > a few cases where this would have been useful. It seems generic > > eno

Re: [Python-Dev] enumerate with a start index

2005-10-19 Thread Michel Pelletier
Martin Blais wrote: > Hi > > Just wondering, would anyone think of it as a good idea if the > enumerate() builtin could accept a "start" argument? I've run across > a few cases where this would have been useful. It seems generic > enough too. +1, but something more useful might be a a cross bet

[Python-Dev] enumerate with a start index

2005-10-19 Thread Martin Blais
Hi Just wondering, would anyone think of it as a good idea if the enumerate() builtin could accept a "start" argument? I've run across a few cases where this would have been useful. It seems generic enough too. ___ Python-Dev mailing list Python-Dev@py