summaryrefslogtreecommitdiffstats
path: root/Python/stackrefs.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-12-29 22:07:12 (GMT)
committerGitHub <noreply@github.com>2024-12-29 22:07:12 (GMT)
commitef63cca494571f50906baae1d176469a3dcf8838 (patch)
tree1b9b86826bd40be1039855410ba54cb567c32070 /Python/stackrefs.c
parentc78729f2df7c0e220f1080edb2a0d0cdd49e22df (diff)
downloadcpython-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/stackrefs.c')
0 files changed, 0 insertions, 0 deletions