Open mlenzen opened 8 years ago
Maybe only support recent versions in 1.0
Can support 2 & 3 by putting the annotations in a stub file or as a comment
Check that autodoc uses type annotations https://pypi.org/project/sphinx-autodoc-typehints/
Need to create a unique type for each Sentinel so that we can add that type to the annotation.
Need to use backported typing library for Python <3.6
Can move annotations out of stubs now.
Can setlists and rest of types be annotated? When I am using this module mypy tells me Type of variable becomes "Any" due to an unfollowed import
. It would be nice to have annotations. Thank you.
Not going to do, invalid syntax for old versions.