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 670dc8e commit 33d50ecCopy full SHA for 33d50ec
Lib/ntpath.py
@@ -121,8 +121,7 @@ def join(path, *paths):
121
colon = ':'
122
try:
123
if not paths:
124
- # bpo-23780: Ensure compatible data type even if paths is empty.
125
- path[:0] + sep
+ path[:0] + sep #23780: Ensure compatible data type even if p is null.
126
result_drive, result_root, result_path = splitroot(path)
127
for p in map(os.fspath, paths):
128
p_drive, p_root, p_path = splitroot(p)
0 commit comments