Improved syntax for generic type parameters in Python 3.12

This PEP specifies an improved syntax for specifying type parameters within
a generic class, function, or type alias. It also introduces a new statement
for declaring type aliases. Read more

Similar