summaryrefslogtreecommitdiffstats
path: root/Lib/heapq.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-03-29 18:51:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-03-29 18:51:11 (GMT)
commitb006fcc30ce0277e5fa45fbab059cc7d3154bbcc (patch)
treed32bc4b2fedf72258debf784f604e299e8056457 /Lib/heapq.py
parentd4814bfa232371d7339e2b3a16e6669fb7828c49 (diff)
downloadcpython-b006fcc30ce0277e5fa45fbab059cc7d3154bbcc.zip
cpython-b006fcc30ce0277e5fa45fbab059cc7d3154bbcc.tar.gz
cpython-b006fcc30ce0277e5fa45fbab059cc7d3154bbcc.tar.bz2
Make life easier for non-CPython implementations.
Diffstat (limited to 'Lib/heapq.py')
-rw-r--r--Lib/heapq.py2
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