mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
* Replace `Str[OrBytes]Path` with `str` A filesystem path is not valid as an abstract resource. `TraversableResources` cannot only accept strings if `ResourceReader` accepts both bytes and strings. `importlib.resources` does not work with bytes in any case and `ResourceReader` is typed as taking a `typing.Text` object in `importlib.resources`' source code. * Update `joinpath` signature from Python 3.11