]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix `PurePath.relative_to` links in the pathlib documentation. (GH-93268)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Jun 2022 19:11:10 +0000 (12:11 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Jun 2022 19:11:10 +0000 (12:11 -0700)
commitf26d1b5b5354348c37b7835aa1344d5d0f6f6750
treef3aa1e229b24b240a10e04105561ca5d23dfa1f9
parent52032554aec353f5a3e95f11a64bf9410ee81d23
Fix `PurePath.relative_to` links in the pathlib documentation. (GH-93268)

These are currently broken as they refer to :meth:`Path.relative_to` rather than :meth:`PurePath.relative_to`, and `relative_to` is a method on `PurePath`.
(cherry picked from commit 8ef7929baffd0038bcb38978a6a91ecc63bf0de2)

Co-authored-by: jacksonriley <52106215+jacksonriley@users.noreply.github.com>
Doc/library/pathlib.rst