From 99a4bf5eb55dd42a0832280c0c5941ef608b3df6 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Tue, 23 Apr 2024 13:42:03 +0900 Subject: [PATCH] remove import dummp_os --- Lib/genericpath.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/genericpath.py b/Lib/genericpath.py index b767a3298..1bd5b3897 100644 --- a/Lib/genericpath.py +++ b/Lib/genericpath.py @@ -3,10 +3,7 @@ Path operations common to more than one OS Do not use directly. The OS specific modules import the appropriate functions from this module themselves. """ -try: - import os -except ImportError: - import _dummy_os as os +import os import stat __all__ = ['commonprefix', 'exists', 'getatime', 'getctime', 'getmtime',