Python Type Checking Guide Documentation

in python 3.5 means you’re attaching objects to function definitions just as you do when providing a default value to an argument. In fact, you can use typing.get_type_hints()function to inspect type hint objects on a function at runtime, just as you would inspect argument defaults with inspect.getargspec(). ................
................