Issue #15767: Excise the remaining instances of ModuleNotFoundError

This commit is contained in:
Brett Cannon 2013-07-04 18:16:15 -04:00
parent 3dfd23245b
commit 260fbe80c5
8 changed files with 27 additions and 27 deletions

View file

@ -151,5 +151,5 @@ def filemode(mode):
# If available, use C implementation
try:
from _stat import *
except ModuleNotFoundError:
except ImportError:
pass