SublimeAutoDocstring icon indicating copy to clipboard operation
SublimeAutoDocstring copied to clipboard

Variable Annotations in Python 3.6

Open KristoforMaynard opened this issue 8 years ago • 0 comments

Python 3.6 adds variable annotations in PEP 526 to complement the type hints introduced in PEP 484. It would be cool for AutoDocstring to support these annotations for class attributes etc. This feature should support all the formats mentioned in PEP 526:

var = value # type: annotation
var: annotation; var = value
var: annotation = value

KristoforMaynard avatar Apr 21 '17 23:04 KristoforMaynard