mirror of
https://github.com/python/cpython.git
synced 2026-05-07 05:01:13 -04:00
5dbd27db7d
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__()`.