diff options
Diffstat (limited to 'Lib/datetime.py')
-rw-r--r-- | Lib/datetime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py index bc1486c..2883418 100644 --- a/Lib/datetime.py +++ b/Lib/datetime.py @@ -2116,7 +2116,7 @@ _EPOCH = datetime(1970, 1, 1, tzinfo=timezone.utc) try: from _datetime import * -except ImportError: +except ModuleNotFoundError: pass else: # Clean up unused names |