SIGN IN SIGN UP

GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437)

In the abstract interface of `JoinablePath`, replace `__str__()` with
`__vfspath__()`. This frees user implementations of `JoinablePath` to
implement `__str__()` however they like (or not at all.)

Also add `pathlib._os.vfspath()`, which calls `__fspath__()` or
`__vfspath__()`.
B
Barney Gale committed
5dbd27db7d79af88fb3f9b47f8b80438a147d349
Parent: 9f69a58
Committed by GitHub <noreply@github.com> on 5/12/2025, 6:00:36 PM