PEP 3107 Function Annotations
TL;DR
PEP 3107 introduced syntax for adding metadata to function parameters and return values, stored in __annotations__
- the foundation for modern type hints.
PEP 3107 introduced syntax for adding metadata to function parameters and return values, stored in __annotations__
- the foundation for modern type hints.