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): ...@@ -307,7 +307,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
......
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