GH-110488: Fix two small issues in pathlib.PurePath.with_name()
#110651
Merged
barneygale merged 2 commits intopython:mainfrom barneygale:gh-110488-with-name-fixesOct 11, 2023
+15-6
pathlib.PurePath.with_name()
#110651