[Python-Dev] iter.index()

Aahz aahz at pythoncraft.com
Sun Apr 18 23:52:15 EDT 2004


On Sun, Apr 18, 2004, Christian Stork wrote:
>
> Why not add the index method to iterator objects?  Of course, internally
> only next() is used by the default implementation.

While not entirely off-topic for python-dev, you'll probably get better
discussion by going to c.l.py.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I used to have a .sig but I found it impossible to please everyone..."  --SFJ



More information about the Python-Dev mailing list