]> granicus.if.org Git - python/commit
- New builtin function enumerate(x), from PEP 279. Example:
authorGuido van Rossum <guido@python.org>
Fri, 26 Apr 2002 19:40:56 +0000 (19:40 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 26 Apr 2002 19:40:56 +0000 (19:40 +0000)
commit7dab2426ca0bae36fde565407ddb4b2d2cbf2575
tree58cab4dd199cdf49860d97d6ccd52fd58a4b9f03
parent17afa13a9fce3cf0c4a0b474d344c0471088849a
- 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.
Include/Python.h
Include/enumobject.h [new file with mode: 0644]
Lib/test/test_enumerate.py [new file with mode: 0644]
Makefile.pre.in
Misc/NEWS
Objects/enumobject.c [new file with mode: 0644]
Python/bltinmodule.c