a guest Feb 20th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- myvar = 10 # type: int
- myvar = math.inf # <-- raises a typing error because math.inf is a float
- myvar = 10 # type: Union[int, float]
RAW Paste Data