We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1926e74 commit 0ed5146Copy full SHA for 0ed5146
Lib/ntpath.py
@@ -20,7 +20,7 @@
20
import genericpath
21
from genericpath import *
22
23
-if sys.platform == "win32" and os.environ.get("MSYSTEM", ""):
+if sys.use_alt_sep:
24
sep = '/'
25
altsep = '\\'
26
else:
0 commit comments