Make life easier for non-CPython implementations.

This commit is contained in:
Raymond Hettinger 2009-03-29 18:51:11 +00:00
parent d4814bfa23
commit b006fcc30c
1 changed files with 1 additions and 1 deletions

View File

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