GH-113528: Deoptimise `pathlib._abc.PurePathBase.name` (#113531)
Replace usage of `_from_parsed_parts()` with `with_segments()` in `with_name()`, and take a similar approach in `name` for consistency's sake.
B
Barney Gale committed
1e914ad89de707b8a69b03d7b36f5022f4c07c78
Parent: 2205510
Committed by GitHub <noreply@github.com>
on 1/6/2024, 8:50:25 PM