Skip to content

Optional type hinting stub #260

@lrq3000

Description

@lrq3000

Implement a .pyi stub file to implement optional type hinting (usable with mypy or Python >= 3.5) as initially proposed by @CrazyPython.

See #198 (comment).

TODO:

Note that the official implementation of type hints in Python 3.5 may change in Python 3.6/3.7, particularly for duck typing support, but since it's an optional stub file (no modification to .py files) we won't lose anything.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions