summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-11-08 10:24:38 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-11-08 10:24:38 (GMT)
commitb3af1813eb5cf99766f55a0dfc0d566e9bd7c3c1 (patch)
tree521b04bd610668139d07ee16fbaa3f8ae99b6166 /PC
parent1021c44b413ebe264a6187322447ac296a0a18a7 (diff)
downloadcpython-b3af1813eb5cf99766f55a0dfc0d566e9bd7c3c1.zip
cpython-b3af1813eb5cf99766f55a0dfc0d566e9bd7c3c1.tar.gz
cpython-b3af1813eb5cf99766f55a0dfc0d566e9bd7c3c1.tar.bz2
Convert heapq.py to a C implementation.
Diffstat (limited to 'PC')
-rw-r--r--PC/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index ea65e91..d163b79 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -46,6 +46,7 @@ extern void initxxsubtype(void);
extern void initzipimport(void);
extern void init_random(void);
extern void inititertools(void);
+extern void initheapq(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
@@ -98,6 +99,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_weakref", init_weakref},
{"_hotshot", init_hotshot},
{"_random", init_random},
+ {"heapq", initheapq},
{"itertools", inititertools},
{"xxsubtype", initxxsubtype},