typing - Support for type hints
Page content
- It provides runtime support for type hints.
Type aliases
- A type alias is defined by assigning the type to the alias.
Vector = list[float]
def <function_name>(<parameter>: Vector) -> Vector:
...