diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-30 21:46:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 21:46:43 -0800 |
commit | f36c2729d62c90f7f667129b10f8161b1e4f5507 (patch) | |
tree | 0c97737bb1c8fda63c3af1c65013acac1a338065 /Python | |
parent | 3adac4126d659e1d42acf4625dedc8d92eb1c6c8 (diff) | |
download | cpython-git-f36c2729d62c90f7f667129b10f8161b1e4f5507.tar.gz |
gh-77607: Improve accuracy of os.path.join docs (GH-101406)
This is a follow-up to GH-100811.
One of the changes in that PR isn't accurate in that
`os.path.join('', '')` will not end in a separator.
This reverts that change to the previous wording that used "only", but
explicitly calls out the case where the last part ends in a separator,
which is what caused confusin in GH-77607 and motivated the change
in GH-100811.
(cherry picked from commit 909a6746939ea1d09fab21f26b558cfd7e3e29a0)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions