Skip to content

Possible typo in the documentation of importlib.resources.abc #99795

@busywhitespace

Description

@busywhitespace

The documentation for importlib.resources.abc.TraversableResources at the end of the importlib.resources.abc documentation says:

... Therefore, any loader supplying importlib.abc.TraversableReader also supplies ResourceReader.

But importlib.abc.TraversableReader isn't exposed in the module. In my opinion, the author of the documentation meant TraversableResources considering the fact, that the preceding sentence talks about TraversableResources subclassing ResourceReader.

Subclasses importlib.resources.abc.ResourceReader and provides concrete implementations of the importlib.resources.abc.ResourceReader’s abstract methods

I've created the PR in case the issue is correct.

Linked PRs

Metadata

Metadata

Assignees

Labels

docsDocumentation in the Doc dir

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions