Per the language summit, the optional fastpath imports should use from-import-star.

This commit is contained in:
Raymond Hettinger 2009-03-31 17:47:06 +00:00
parent aa118103d7
commit 3476d1279f

View 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