From 0ed51466324f4c6b57fe0ac72455776200144bfb Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Fri, 5 Sep 2025 15:15:55 +0300 Subject: [PATCH 164/N] ntpath: Resolve cyclic dependency with os module --- Lib/ntpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ntpath.py b/Lib/ntpath.py index 7d079bc..1064871 100644 --- a/Lib/ntpath.py +++ b/Lib/ntpath.py @@ -20,7 +20,7 @@ import sys import genericpath from genericpath import * -if sys.platform == "win32" and os.environ.get("MSYSTEM", ""): +if sys.use_alt_sep: sep = '/' altsep = '\\' else: