I can do this in Python 3:
def foo(bar: int): pass
So that bar is guaranteed to be an int.
bar
int
Assuming I ha