From 9dbc6706b00674b418c385a9e04b127f6f365385 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 31 Mar 2009 17:51:51 +0000 Subject: Per the language summit, the optional fastpath imports should use from-import-star. --- Lib/bisect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/bisect.py b/Lib/bisect.py index fe84255..4a4d052 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 -- cgit v0.12