- New builtin function enumerate(x), from PEP 279. Example:
enumerate("abc") is an iterator returning (0,"a"), (1,"b"), (2,"c").
The argument can be an arbitrary iterable object. G
Guido van Rossum committed
7dab2426ca0bae36fde565407ddb4b2d2cbf2575
Parent: 17afa13