summaryrefslogtreecommitdiffstats
path: root/Lib/operator.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/operator.py')
-rw-r--r--Lib/operator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/operator.py b/Lib/operator.py
index c8273cc..d31a9a4 100644
--- a/Lib/operator.py
+++ b/Lib/operator.py
@@ -360,7 +360,7 @@ def ixor(a, b):
try:
from _operator import *
-except ModuleNotFoundError:
+except ImportError:
pass
else:
from _operator import __doc__