diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-01-09 22:46:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 22:46:50 (GMT) |
commit | 5c7bd0e39839b27bc524e1790fe4936d987f384a (patch) | |
tree | 45c3dfcb0deac02d44a3c935ac5c7a3ca08101fd /Lib/re | |
parent | 623b338adf2645b09c546e7a17f2648d3a900620 (diff) | |
download | cpython-5c7bd0e39839b27bc524e1790fe4936d987f384a.zip cpython-5c7bd0e39839b27bc524e1790fe4936d987f384a.tar.gz cpython-5c7bd0e39839b27bc524e1790fe4936d987f384a.tar.bz2 |
GH-113528: Deoptimise `pathlib._abc.PurePathBase.parts` (#113883)
Implement `parts` using `_stack`, which itself calls `pathmod.split()`
repeatedly. This avoids use of `_tail`, which will be moved to `PurePath`
shortly.
Diffstat (limited to 'Lib/re')
0 files changed, 0 insertions, 0 deletions