* Restore the pure python version of heapq.py.

* Mark the C version as private and only use when available.
This commit is contained in:
Raymond Hettinger 2004-04-19 19:06:21 +00:00
parent 61e40bd897
commit c46cb2a1a9
4 changed files with 628 additions and 3 deletions

View file

@ -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},