typing — Support for type hints
This module supports type hints as specified by PEP 484 and PEP 526. The most fundamental support consists of the types Any, Union, Tuple, Callable, TypeVar, and Generic. For full specification please see PEP 484. For a simplified introduction to type hints see PEP 483.
>>> def foo(some_word: str):
... print('some_word = {}'.format(some_word))
...
>>> foo(9)
some_word = 9