summaryrefslogtreecommitdiff
path: root/Lib/bisect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bisect.py')
-rw-r--r--Lib/bisect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bisect.py b/Lib/bisect.py
index 7808651a1a..4a4d05255e 100644
--- a/Lib/bisect.py
+++ b/Lib/bisect.py
@@ -88,5 +88,5 @@ def bisect_left(a, x, lo=0, hi=None):
# Overwrite above definitions with a fast C implementation
try:
from _bisect import *
-except ModuleNotFoundError:
+except ImportError:
pass