Skip to content

Documentation should be updated to for new namespace pkg support #5757

Closed
@chrisphilip322

Description

@chrisphilip322

#5691 and #5591 added support for importing type hints from namespace packages according to pep 561 but the documentation hasn't been updated to reflect it https://mypy.readthedocs.io/en/latest/installed_packages.html#using-pep-561-compatible-packages-with-mypy

Specifically :

Note that mypy does not support some more advanced import features, such as zip imports, namespace packages, and custom import hooks.

I suggest simply updating the docs to:

Note that mypy does not support some more advanced import features, such as zip imports, namespace packages, and custom import hooks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions