Advertisement
Guest User

Untitled

a guest
Oct 18th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. @type_check
  2. @annotated_func([int, float, TypedUnion([TypedList(str), TypedList(int), TypedSet(str)])])
  3. def hello_func_3(x, y, z):
  4. print(f"Hello! Arguments are {x}, {y}, {z}")
  5.  
  6.  
  7. hello_func_3(1, 1.5, {'1,2,3','4', '1'})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement