]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-87691: clarify use of anchor in pathlib docs (GH-100782)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Jan 2023 01:59:27 +0000 (17:59 -0800)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2023 01:59:27 +0000 (17:59 -0800)
commitd6b8413e94d68649bdd3cac5d441f1cf4609b540
tree6355b15dbfc75c1e98f794168ea96c44c6161c56
parent75861006d8e01d4e672995573a1651995418b5d2
gh-87691: clarify use of anchor in pathlib docs (GH-100782)

This is feedback from https://github.com/python/cpython/pull/100737GH-discussion_r1062968696

This matches the wording from the `os.path.join` docs better:
https://docs.python.org/3/library/os.path.htmlGH-os.path.join

In particular, the previous use of "anchor" was incorrect given the
pathlib definition of "anchor".

(cherry picked from commit 2f2fa03ff3d566b675020787e23de8fb4ca78e99)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Doc/library/pathlib.rst