]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-127381: pathlib ABCs: remove `PathBase.lstat()` (#127382)
authorBarney Gale <barney.gale@gmail.com>
Fri, 29 Nov 2024 21:03:39 +0000 (21:03 +0000)
committerGitHub <noreply@github.com>
Fri, 29 Nov 2024 21:03:39 +0000 (21:03 +0000)
commit38264a060a8178d58046e90e9beb8220e3c22046
tree638b08da71289b121f9dbe1e75364175d508a50e
parent15d6506d175780bb29e5fcde654e3860408aa93e
GH-127381: pathlib ABCs: remove `PathBase.lstat()` (#127382)

Remove the `PathBase.lstat()` method, which is a trivial variation of
`stat()`.

No user-facing changes because the pathlib ABCs are still private.
Lib/pathlib/_abc.py
Lib/pathlib/_local.py
Lib/test/test_pathlib/test_pathlib.py
Lib/test/test_pathlib/test_pathlib_abc.py