Skip to content

Mention of importlib.metadata.PackageNotFoundError in docs #116981

@tmct

Description

@tmct

Documentation

importlib.metadata functions such as version() can throw PackageNotFoundError, which doesn't appear on the Python docs search.

I've seen code in the past where this is caught, and it feels like a public API - would you like to see it mentioned somewhere on the page https://docs.python.org/3/library/importlib.metadata.html?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions