diff options
author | Brett Cannon <brett@python.org> | 2013-07-04 18:16:15 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-07-04 18:16:15 -0400 |
commit | 260fbe80c5bd3611ae9e896a3c4714527667aece (patch) | |
tree | aa4e3e522edf2af312a256702b8f43769faab2e0 /Lib/stat.py | |
parent | 3dfd23245be19ff95cf50fe93c428dabf2ff90e7 (diff) | |
download | cpython-git-260fbe80c5bd3611ae9e896a3c4714527667aece.tar.gz |
Issue #15767: Excise the remaining instances of ModuleNotFoundError
Diffstat (limited to 'Lib/stat.py')
-rw-r--r-- | Lib/stat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stat.py b/Lib/stat.py index 0ea653b014..3eecc3e0d3 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 |