Make life easier for non-CPython implementations.
This commit is contained in:
parent
d4814bfa23
commit
b006fcc30c
|
@ -308,7 +308,7 @@ def _siftup(heap, pos):
|
||||||
|
|
||||||
# If available, use C implementation
|
# If available, use C implementation
|
||||||
try:
|
try:
|
||||||
from _heapq import heappush, heappop, heapify, heapreplace, nlargest, nsmallest, heappushpop
|
from _heapq import *
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue