]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-87691: clarify use of anchor in pathlib docs (#100782)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Fri, 6 Jan 2023 01:49:33 +0000 (17:49 -0800)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2023 01:49:33 +0000 (17:49 -0800)
commit2f2fa03ff3d566b675020787e23de8fb4ca78e99
treee6e12c71eaf3e1ab755bf4905732620da514aa8f
parent0a7936a38f0bab1619ee9fe257880a51c9d839d5
gh-87691: clarify use of anchor in pathlib docs (#100782)

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

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

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

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Doc/library/pathlib.rst