diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-31 05:46:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-31 05:46:48 (GMT) |
commit | a79dd889738294fb0307d2216171ae5163aa7b41 (patch) | |
tree | 9e7bb83a96d66628f800e29bef9af882c84db04e /Lib/test/test_exceptions.py | |
parent | 6a94f4c9730a0a8d94cc497b19f08601668b1124 (diff) | |
download | cpython-a79dd889738294fb0307d2216171ae5163aa7b41.zip cpython-a79dd889738294fb0307d2216171ae5163aa7b41.tar.gz cpython-a79dd889738294fb0307d2216171ae5163aa7b41.tar.bz2 |
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 'Lib/test/test_exceptions.py')
0 files changed, 0 insertions, 0 deletions