summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-04-26 19:40:56 (GMT)
committerGuido van Rossum <guido@python.org>2002-04-26 19:40:56 (GMT)
commit7dab2426ca0bae36fde565407ddb4b2d2cbf2575 (patch)
tree58cab4dd199cdf49860d97d6ccd52fd58a4b9f03 /Makefile.pre.in
parent17afa13a9fce3cf0c4a0b474d344c0471088849a (diff)
downloadcpython-7dab2426ca0bae36fde565407ddb4b2d2cbf2575.zip
cpython-7dab2426ca0bae36fde565407ddb4b2d2cbf2575.tar.gz
cpython-7dab2426ca0bae36fde565407ddb4b2d2cbf2575.tar.bz2
- 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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 9ad1c0a..9ec4fa6 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -257,6 +257,7 @@ OBJECT_OBJS= \
Objects/cobject.o \
Objects/complexobject.o \
Objects/descrobject.o \
+ Objects/enumobject.o \
Objects/fileobject.o \
Objects/floatobject.o \
Objects/frameobject.o \
@@ -443,6 +444,7 @@ PYTHON_HEADERS= \
Include/complexobject.h \
Include/descrobject.h \
Include/dictobject.h \
+ Include/enumobject.h \
Include/fileobject.h \
Include/floatobject.h \
Include/funcobject.h \