summaryrefslogtreecommitdiffstats
path: root/Tools/c-analyzer/cpython/_parser.py
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-01-06 21:37:38 (GMT)
committerGitHub <noreply@github.com>2024-01-06 21:37:38 (GMT)
commita15a7735e69862fdfc0ed21bc1ade3a32833a01d (patch)
tree8686f98cb96a96591425c0eb3e04bb088cd576a2 /Tools/c-analyzer/cpython/_parser.py
parent37bd893a22b784d573b71df5417d855dc32dee62 (diff)
downloadcpython-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