summaryrefslogtreecommitdiff
path: root/PC/config.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-04-19 19:06:21 +0000
committerRaymond Hettinger <python@rcn.com>2004-04-19 19:06:21 +0000
commit5498dad8142e35b0451fa7708455955692394219 (patch)
tree949ec19a4675b0095acaf63cf6300ca8e1d7d184 /PC/config.c
parent00eb485b9832f6de05b1120258556a106518b668 (diff)
downloadcpython-5498dad8142e35b0451fa7708455955692394219.tar.gz
* Restore the pure python version of heapq.py.
* Mark the C version as private and only use when available.
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/config.c b/PC/config.c
index e6183026e2..1b8ddf1f70 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},