commit | b006fcc30ce0277e5fa45fbab059cc7d3154bbcc | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Mar 29 18:51:11 2009 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Mar 29 18:51:11 2009 +0000 |
tree | d32bc4b2fedf72258debf784f604e299e8056457 | |
parent | d4814bfa232371d7339e2b3a16e6669fb7828c49 [diff] [blame] |
Make life easier for non-CPython implementations.
diff --git a/Lib/heapq.py b/Lib/heapq.py index 46dd4b6..a44d1be 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py
@@ -308,7 +308,7 @@ # If available, use C implementation try: - from _heapq import heappush, heappop, heapify, heapreplace, nlargest, nsmallest, heappushpop + from _heapq import * except ImportError: pass