From: Raymond Hettinger Date: Tue, 31 Mar 2009 17:47:06 +0000 (+0000) Subject: Per the language summit, the optional fastpath imports should use from-import-star. X-Git-Tag: v2.7a1~1700 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3476d1279f469125c62bcea8a84ab65c1e271152;p=python Per the language summit, the optional fastpath imports should use from-import-star. --- diff --git a/Lib/bisect.py b/Lib/bisect.py index fe84255590..4a4d05255e 100644 --- a/Lib/bisect.py +++ b/Lib/bisect.py @@ -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