]> granicus.if.org Git - python/commitdiff
Per the language summit, the optional fastpath imports should use from-import-star.
authorRaymond Hettinger <python@rcn.com>
Tue, 31 Mar 2009 17:51:51 +0000 (17:51 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 31 Mar 2009 17:51:51 +0000 (17:51 +0000)
Lib/bisect.py

index fe84255590a7b4c6f901749639d7ffd49a85a8e3..4a4d05255e5810d5f918cd2176f915046d25e672 100644 (file)
@@ -87,6 +87,6 @@ def bisect_left(a, x, lo=0, hi=None):
 
 # Overwrite above definitions with a fast C implementation
 try:
-    from _bisect import bisect_right, bisect_left, insort_left, insort_right, insort, bisect
+    from _bisect import *
 except ImportError:
     pass