summaryrefslogtreecommitdiffstats
path: root/Lib/stat.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/stat.py')
-rw-r--r--Lib/stat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stat.py b/Lib/stat.py
index 0ea653b..3eecc3e 100644
--- a/Lib/stat.py
+++ b/Lib/stat.py
@@ -151,5 +151,5 @@ def filemode(mode):
# If available, use C implementation
try:
from _stat import *
-except ModuleNotFoundError:
+except ImportError:
pass