diff options
| author | Raymond Hettinger <python@rcn.com> | 2009-03-29 18:51:11 (GMT) | 
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2009-03-29 18:51:11 (GMT) | 
| commit | b006fcc30ce0277e5fa45fbab059cc7d3154bbcc (patch) | |
| tree | d32bc4b2fedf72258debf784f604e299e8056457 | |
| parent | d4814bfa232371d7339e2b3a16e6669fb7828c49 (diff) | |
| download | cpython-b006fcc30ce0277e5fa45fbab059cc7d3154bbcc.zip cpython-b006fcc30ce0277e5fa45fbab059cc7d3154bbcc.tar.gz cpython-b006fcc30ce0277e5fa45fbab059cc7d3154bbcc.tar.bz2 | |
Make life easier for non-CPython implementations.
| -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 46dd4b6..a44d1be 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 | 
