Re:A Failed Experiment with Python Type Annotations
by joshuamorton on Wednesday June 12, 2019 @04:15AM
(#20162686)
Yes and no.
Annotations in comments or in type stubs are supported in python2 (you can look at typeshed for typing.Text and conditional py2/3 stuff). There's also some other cases, but they're...unique.
Annotations in comments or in type stubs are supported in python2 (you can look at typeshed for typing.Text and conditional py2/3 stuff). There's also some other cases, but they're...unique.