mirror of https://github.com/python/cpython
Make life easier for non-CPython implementations
This commit is contained in:
parent
00a9b73817
commit
0dd737b5ab
|
@ -307,7 +307,7 @@ def _siftup(heap, pos):
|
|||
|
||||
# If available, use C implementation
|
||||
try:
|
||||
from _heapq import heappush, heappop, heapify, heapreplace, nlargest, nsmallest, heappushpop
|
||||
from _heapq import *
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue