From: Raymond Hettinger Date: Tue, 31 Mar 2009 17:51:51 +0000 (+0000) Subject: Per the language summit, the optional fastpath imports should use from-import-star. X-Git-Tag: v3.1a2~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9dbc6706b00674b418c385a9e04b127f6f365385;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