summaryrefslogtreecommitdiffstats
path: root/Lib/ntpath.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-16 12:34:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-16 12:34:55 (GMT)
commit3d7e11520e5993b2adf9b809a8342084053988ae (patch)
tree7afaf493934ca1a490aae0379ba55c78c0cf4ca8 /Lib/ntpath.py
parent8a1d1e647eb133cb1687e183dc0aefa7e2f02fdb (diff)
downloadcpython-3d7e11520e5993b2adf9b809a8342084053988ae.zip
cpython-3d7e11520e5993b2adf9b809a8342084053988ae.tar.gz
cpython-3d7e11520e5993b2adf9b809a8342084053988ae.tar.bz2
Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
Diffstat (limited to 'Lib/ntpath.py')
-rw-r--r--Lib/ntpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py
index 826be87..598c64f 100644
--- a/Lib/ntpath.py
+++ b/Lib/ntpath.py
@@ -207,7 +207,7 @@ def splitdrive(p):
empty = _get_empty(p)
if len(p) > 1:
sep = _get_sep(p)
- normp = normcase(p)
+ normp = p.replace(_get_altsep(p), sep)
if (normp[0:2] == sep*2) and (normp[2:3] != sep):
# is a UNC path:
# vvvvvvvvvvvvvvvvvvvv drive letter or UNC path