diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-12-29 22:07:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-29 22:07:12 (GMT) |
commit | ef63cca494571f50906baae1d176469a3dcf8838 (patch) | |
tree | 1b9b86826bd40be1039855410ba54cb567c32070 /Python/instruction_sequence.c | |
parent | c78729f2df7c0e220f1080edb2a0d0cdd49e22df (diff) | |
download | cpython-ef63cca494571f50906baae1d176469a3dcf8838.zip cpython-ef63cca494571f50906baae1d176469a3dcf8838.tar.gz cpython-ef63cca494571f50906baae1d176469a3dcf8838.tar.bz2 |
GH-127381: pathlib ABCs: remove uncommon `PurePathBase` methods (#127853)
Remove `PurePathBase.relative_to()` and `is_relative_to()` because they
don't account for *other* being an entirely different kind of path, and
they can't use `__eq__()` because it's not on the `PurePathBase` interface.
Remove `PurePathBase.drive`, `root`, `is_absolute()` and `as_posix()`.
These are all too specific to local filesystems.
Diffstat (limited to 'Python/instruction_sequence.c')
0 files changed, 0 insertions, 0 deletions