]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-110109: pathlib docs: bring `from_uri()` and `as_uri()` together. (#110312)
authorBarney Gale <barney.gale@gmail.com>
Tue, 16 Jan 2024 22:51:57 +0000 (22:51 +0000)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 22:51:57 +0000 (22:51 +0000)
commit45e527dfb553a5687aad828260cda85f02b9b6f8
tree18752ae4e0661ad13dca43203b21be69de3c15ba
parent1d6989f9b081f936882973e45550663d7956a9d5
GH-110109: pathlib docs: bring `from_uri()` and `as_uri()` together. (#110312)

This is a very soft deprecation of `PurePath.as_uri()`. We instead document
it as a `Path` method, and add a couple of sentences mentioning that it's
also available in `PurePath`.

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/library/pathlib.rst