Skip to content

Commit

Permalink
pathlib path sep
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Aug 25, 2023
1 parent 31a2f00 commit 94f97dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ class _WindowsFlavour(_Flavour):

sep = '\\'
altsep = '/'
if 'MSYSTEM' in os.environ:
sep, altsep = altsep, sep
has_drv = True
pathmod = ntpath

Expand Down

0 comments on commit 94f97dd

Please sign in to comment.