PEP 3107 – Function Annotations | peps.python.org

This PEP introduces a syntax for adding arbitrary metadata annotations to Python functions 1.