diff options
author | Raymond Hettinger <python@rcn.com> | 2009-03-29 18:51:11 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-03-29 18:51:11 +0000 |
commit | b006fcc30ce0277e5fa45fbab059cc7d3154bbcc (patch) | |
tree | d32bc4b2fedf72258debf784f604e299e8056457 /Lib | |
parent | d4814bfa232371d7339e2b3a16e6669fb7828c49 (diff) | |
download | cpython-git-b006fcc30ce0277e5fa45fbab059cc7d3154bbcc.tar.gz |
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 46dd4b6efc..a44d1beb04 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py @@ -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 |