Re:Static types in Python
by ddfisher on Thursday October 13, 2016 @05:43PM
(#12704309)
It should work with the Python 3 syntax if you quote your type annotation. I.e.
instead of
(This is normally used for forward references.) This makes it slightly less nice, but not a terrible workaround overall.
[ Parent
| on HN ]
There are no comments on this comment yet.