Skip to content

Commit 0ed5146

Browse files
committed
ntpath: Resolve cyclic dependency with os module
1 parent 1926e74 commit 0ed5146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ntpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import genericpath
2121
from genericpath import *
2222

23-
if sys.platform == "win32" and os.environ.get("MSYSTEM", ""):
23+
if sys.use_alt_sep:
2424
sep = '/'
2525
altsep = '\\'
2626
else:

0 commit comments

Comments
 (0)