summaryrefslogtreecommitdiff
path: root/Lib/heapq.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-03-29 19:30:50 +0000
committerRaymond Hettinger <python@rcn.com>2009-03-29 19:30:50 +0000
commit0dd737b5ab1624c061a10d569138963b57f32f96 (patch)
tree5311828d160b72b8c14c5df6ea33e95eba347b86 /Lib/heapq.py
parent00a9b738179cf1dc96817870c51eda5807ff6888 (diff)
downloadcpython-git-0dd737b5ab1624c061a10d569138963b57f32f96.tar.gz
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 19a457b10d..b74818e2ba 100644
--- a/Lib/heapq.py
+++ b/Lib/heapq.py
@@ -307,7 +307,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