Mercurial > cpython-lru_cache-weakref
comparison Python/thread_lwp.h @ 23285:afe263672fd8 legacy-trunk
- 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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 26 Apr 2002 19:40:56 +0000 |
| parents | 8b116a8449bd |
| children | e38335d4df91 df5719c298db |
comparison
equal
deleted
inserted
replaced
| 23284:00f66360be19 | 23285:afe263672fd8 |
|---|
