mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
* Restore the pure python version of heapq.py.
* Mark the C version as private and only use when available.
This commit is contained in:
parent
61e40bd897
commit
c46cb2a1a9
4 changed files with 628 additions and 3 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue