Skip to content

Commit

Permalink
pathlib path sep
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Jul 19, 2023
1 parent 4a3948e commit 850deab
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 850deab

Please sign in to comment.