diff options
author | Barney Gale <barney.gale@gmail.com> | 2025-03-09 16:36:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-09 16:36:20 +0000 |
commit | ba64cc5db410a893e6ff5bfee9210207947b69c2 (patch) | |
tree | a41669debdce664f9e15dc3f5c039c488924a6cb /Python/optimizer_bytecodes.c | |
parent | c240c2d88a080fc3c68c220aa81062cf5f130ab9 (diff) | |
download | cpython-ba64cc5db410a893e6ff5bfee9210207947b69c2.tar.gz cpython-ba64cc5db410a893e6ff5bfee9210207947b69c2.zip |
GH-130614: pathlib ABCs: retain original separator in `with_name()` (#130990)
In `pathlib.types._JoinablePath.with_name()`, retain any alternative path
separator preceding the old name, rather stripping and replacing it with a
primary separator. As a result, this method changes _only_ the name.
Diffstat (limited to 'Python/optimizer_bytecodes.c')
0 files changed, 0 insertions, 0 deletions