summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-04-19 19:06:21 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-04-19 19:06:21 (GMT)
commitc46cb2a1a92c26e01ddb3921aa6828bcd3576f3e (patch)
tree0e4636fb09a92992d92a988d554b75aafb8d1e06 /PC
parent61e40bd897da8ab4bf2dffe817d0163e984c1e40 (diff)
downloadcpython-c46cb2a1a92c26e01ddb3921aa6828bcd3576f3e.zip
cpython-c46cb2a1a92c26e01ddb3921aa6828bcd3576f3e.tar.gz
cpython-c46cb2a1a92c26e01ddb3921aa6828bcd3576f3e.tar.bz2
* Restore the pure python version of heapq.py.
* Mark the C version as private and only use when available.
Diffstat (limited to 'PC')
-rw-r--r--PC/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/config.c b/PC/config.c
index e618302..1b8ddf1 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -47,7 +47,7 @@ extern void initzipimport(void);
extern void init_random(void);
extern void inititertools(void);
extern void initcollections(void);
-extern void initheapq(void);
+extern void init_heapq(void);
extern void init_bisect(void);
extern void init_symtable(void);
extern void initmmap(void);
@@ -135,7 +135,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_hotshot", init_hotshot},
{"_random", init_random},
{"_bisect", init_bisect},
- {"heapq", initheapq},
+ {"_heapq", init_heapq},
{"itertools", inititertools},
{"collections", initcollections},
{"_symtable", init_symtable},