Kaydet (Commit) 0dd737b5 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Make life easier for non-CPython implementations

üst 00a9b738
......@@ -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