diff options
author | Raymond Hettinger <python@rcn.com> | 2009-03-29 19:30:50 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-03-29 19:30:50 (GMT) |
commit | 0dd737b5ab1624c061a10d569138963b57f32f96 (patch) | |
tree | 5311828d160b72b8c14c5df6ea33e95eba347b86 /Lib | |
parent | 00a9b738179cf1dc96817870c51eda5807ff6888 (diff) | |
download | cpython-0dd737b5ab1624c061a10d569138963b57f32f96.zip cpython-0dd737b5ab1624c061a10d569138963b57f32f96.tar.gz cpython-0dd737b5ab1624c061a10d569138963b57f32f96.tar.bz2 |
Make life easier for non-CPython implementations
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/heapq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/heapq.py b/Lib/heapq.py index 19a457b..b74818e 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py @@ -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 |