Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve a
TypeError
lurking in the read_text()
functional API
`importlib_resources.read_text()` calls the `Traversable.read_text()` concrete method with an `errors` argument that doesn't exist in the method signature, resulting in an `TypeError`. This is resolved by adding an `errors` parameter to `Traversable.read_text()`. Fixes python/cpython#127012
- Loading branch information