Make life easier for non-CPython implementations

This commit is contained in:
Raymond Hettinger 2009-03-29 19:30:50 +00:00
parent 00a9b73817
commit 0dd737b5ab
1 changed files with 1 additions and 1 deletions

View File

@ -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