Re:Type hinting for Python
by mosquito_hater on Wednesday January 07, 2015 @08:27PM
(#8854517)
@ensure_annotations
def f(x: int, y: float) -> float:
return x+y
This looks great, I wish it was the standard
It's fast and doesn't monkey-patch things.