daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. myvar = 10   # type: int
  2. myvar = math.inf  # <-- raises a typing error because math.inf is a float
  3.      
  4. myvar = 10  # type: Union[int, float]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top