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

index 46dd4b6efc67ccca9a3d214e89db42e77c71277c..a44d1beb047c2f431703d48e7111890c753cf282 100644 (file)
@@ -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