]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-77607: Improve accuracy of os.path.join docs (#101406)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Tue, 31 Jan 2023 05:39:30 +0000 (21:39 -0800)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 05:39:30 +0000 (21:39 -0800)
commit909a6746939ea1d09fab21f26b558cfd7e3e29a0
treed8a0ad561a30571db8ff9e66635b5a4a9f74dcc4
parentef09bf63d22b2efe5c0e9a2b9f25a9bec2ba1db0
gh-77607: Improve accuracy of os.path.join docs (#101406)

This is a follow-up to #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 #77607 and motivated the change
in #100811.
Doc/library/os.path.rst