[Python-Dev] Adding start to enumerate()

Steve Holden steve at holdenweb.com
Wed May 14 06:41:10 CEST 2008


Steven D'Aprano wrote:
[...]
> [tongue firmly in cheek]
> Perhaps what we need is a more flexible enumerate function?
> enumerate(iterable, start_at_index=0, count_from=0)

Super idea. Then we can have a thread about whether it belongs in 
itertools or somewhere else.
[...]
Please take your tongue out of your cheek immediately. I am beginning to 
feel somewhat uncomfortable on your behalf.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/



More information about the Python-Dev mailing list