[Python-checkins] r70691 - python/trunk/Lib/heapq.py
raymond.hettinger
python-checkins at python.org
Sun Mar 29 20:51:11 CEST 2009
Author: raymond.hettinger
Date: Sun Mar 29 20:51:11 2009
New Revision: 70691
Log:
Make life easier for non-CPython implementations.
Modified:
python/trunk/Lib/heapq.py
Modified: python/trunk/Lib/heapq.py
==============================================================================
--- python/trunk/Lib/heapq.py (original)
+++ python/trunk/Lib/heapq.py Sun Mar 29 20:51:11 2009
@@ -308,7 +308,7 @@
# If available, use C implementation
try:
- from _heapq import heappush, heappop, heapify, heapreplace, nlargest, nsmallest, heappushpop
+ from _heapq import *
except ImportError:
pass
More information about the Python-checkins
mailing list