PEP 526: Variable Annotations - Type Hints for Variables
TL;DR
PEP 526 introduced variable annotations in Python 3.6, allowing type hints for variables using the syntax variable: type = value
, extending PEP 484’s function annotations to all variables for better code documentation and static analysis.