]> 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:56:34 +0000 (17:56 -0800)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2023 01:56:34 +0000 (17:56 -0800)
commitf5fa2c1e7f158fbc2ac4ad936e39fbe6253ae354
tree7db0747071548004cc9d2e43e2389f4eb3b3e47e
parent4bdc57a3d2aceadbc9150febe6717ef92b8d6aa5
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