aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/optimizer_bytecodes.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2025-03-09 16:36:20 +0000
committerGitHub <noreply@github.com>2025-03-09 16:36:20 +0000
commitba64cc5db410a893e6ff5bfee9210207947b69c2 (patch)
treea41669debdce664f9e15dc3f5c039c488924a6cb /Python/optimizer_bytecodes.c
parentc240c2d88a080fc3c68c220aa81062cf5f130ab9 (diff)
downloadcpython-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