SIGN IN SIGN UP

GH-100479: Add `pathlib.PurePath.with_segments()` (GH-103975)

Add `pathlib.PurePath.with_segments()`, which creates a path object from arguments. This method is called whenever a derivative path is created, such as from `pathlib.PurePath.parent`. Subclasses may override this method to share information between path objects.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
B
Barney Gale committed
d00d94214971621e6a3541425ee8c8072023ca1a
Parent: 1afe0e0
Committed by GitHub <noreply@github.com> on 5/5/2023, 7:04:53 PM