]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] Fix `PurePath.relative_to` links in the pathlib documentation (GH-93268) ...
authorjacksonriley <52106215+jacksonriley@users.noreply.github.com>
Tue, 7 Jun 2022 21:58:43 +0000 (22:58 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Jun 2022 21:58:43 +0000 (14:58 -0700)
commit6b9122483f1f26afb0c41bd676f9754ffe726e18
treeecb47782b831ba84442fb6e1616201e9173760e7
parentb4fdd8ca298437943b08e82842325e3c7d814fbe
[3.10] Fix `PurePath.relative_to` links in the pathlib documentation (GH-93268) (GH-93590)

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>
Backport of #93268
Doc/library/pathlib.rst