Kaydet (Commit) 0eeba5b2 authored tarafından Tim Peters's avatar Tim Peters

Part of SF patch 101481: on Windows, os.path.join("a:", "b") should yield

"a:b", not "a:/b".  Similar change was made to posixmodule.c earlier.
üst f5fa0fc6
......@@ -41,7 +41,7 @@ def join(a, *p):
for b in p:
if isabs(b):
path = b
elif path == '' or path[-1:] in '/\\':
elif path == '' or path[-1:] in '/\\:':
path = path + b
else:
path = path + os.sep + b
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment