[3.12] GH-110488: Fix two small issues in pathlib.PurePath.with_name()
(GH-110651)#110678
Merged
barneygale merged 1 commit intopython:3.12from Oct 11, 2023
8000
pathlib.PurePath.with_name()
(GH-110651)#110678