Skip to content

Commit 33d50ec

Browse files
authored
Revert unrelated change.
1 parent 670dc8e commit 33d50ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/ntpath.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ def join(path, *paths):
121121
colon = ':'
122122
try:
123123
if not paths:
124-
# bpo-23780: Ensure compatible data type even if paths is empty.
125-
path[:0] + sep
124+
path[:0] + sep #23780: Ensure compatible data type even if p is null.
126125
result_drive, result_root, result_path = splitroot(path)
127126
for p in map(os.fspath, paths):
128127
p_drive, p_root, p_path = splitroot(p)

0 commit comments

Comments
 (0)