mirror of
https://github.com/python/cpython.git
synced 2026-05-18 10:24:42 -04:00
Make life easier for non-CPython implementations.
This commit is contained in:
+1
-1
@@ -308,7 +308,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user