diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-01-06 21:37:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-06 21:37:38 (GMT) |
commit | a15a7735e69862fdfc0ed21bc1ade3a32833a01d (patch) | |
tree | 8686f98cb96a96591425c0eb3e04bb088cd576a2 /Tools/c-analyzer/cpython/_parser.py | |
parent | 37bd893a22b784d573b71df5417d855dc32dee62 (diff) | |
download | cpython-a15a7735e69862fdfc0ed21bc1ade3a32833a01d.zip cpython-a15a7735e69862fdfc0ed21bc1ade3a32833a01d.tar.gz cpython-a15a7735e69862fdfc0ed21bc1ade3a32833a01d.tar.bz2 |
GH-113528: Deoptimise `pathlib._abc.PurePathBase.relative_to()` (#113529)
Replace use of `_from_parsed_parts()` with `with_segments()` in
`PurePathBase.relative_to()`, and move the assignment of `_drv`, `_root`
and `_tail_cached` slots into `PurePath.relative_to()`.
Diffstat (limited to 'Tools/c-analyzer/cpython/_parser.py')
0 files changed, 0 insertions, 0 deletions