Commit db0162a1 authored by Raymond Hettinger's avatar Raymond Hettinger

Make life easier for non-CPython implementations

parent 8a46baad
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment