Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for incomplete stubs as defined in PEP 484 #2496

Closed
@snakescott

Description

@snakescott

As a better solution, PEP 484 states that a top-level def __getattr__(name) -> Any: ... in a stub should mean that the stub is incomplete. (I'd completely forgotten about this, sorry.) See also #5. I don't think mypy currently supports this, and I can't find an existing issue for that, so I propose we should open an issue there.

python/typeshed#708

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions