int | float
tuple[int, str]
list[int]
Callable[[int, str], bool]
: int * str -> boolCallable[[], bool]
: No arg 'function' returning a boolCallable[[int], None]
: 'Function' accepting an int that doesn't return a valueCallable[..., int]
: Function accepting any number of args and returning an intFinal
This is not the same as typing.final
.