commit | 0dd737b5ab1624c061a10d569138963b57f32f96 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Mar 29 19:30:50 2009 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Mar 29 19:30:50 2009 +0000 |
tree | 5311828d160b72b8c14c5df6ea33e95eba347b86 | |
parent | 00a9b738179cf1dc96817870c51eda5807ff6888 [diff] |
Make life easier for non-CPython implementations
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 @@ # If available, use C implementation try: - from _heapq import heappush, heappop, heapify, heapreplace, nlargest, nsmallest, heappushpop + from _heapq import * except ImportError: pass