[Python-checkins] r70695 - python/branches/py3k/Lib/heapq.py

raymond.hettinger python-checkins at python.org
Sun Mar 29 21:30:50 CEST 2009


Author: raymond.hettinger
Date: Sun Mar 29 21:30:50 2009
New Revision: 70695
Log:
Make life easier for non-CPython implementations
Modified:
 python/branches/py3k/Lib/heapq.py
Modified: python/branches/py3k/Lib/heapq.py
==============================================================================
--- python/branches/py3k/Lib/heapq.py	(original)
+++ python/branches/py3k/Lib/heapq.py	Sun Mar 29 21:30:50 2009
@@ -307,7 +307,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

AltStyle によって変換されたページ (->オリジナル) /