]> granicus.if.org Git - python/commitdiff
Make life easier for non-CPython implementations
authorRaymond Hettinger <python@rcn.com>
Sun, 29 Mar 2009 19:30:50 +0000 (19:30 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 29 Mar 2009 19:30:50 +0000 (19:30 +0000)
Lib/heapq.py

index 19a457b10dd8a5c1db1686ae77e7de30b22adaa4..b74818e2ba7282295feacd71b1852ed3f0366e34 100644 (file)
@@ -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