MagicPython
MagicPython copied to clipboard
Support for type parameters
Steps to Reproduce:
Consider the following code, using type parameters with python >= 3.13:
def f[T](x: T) -> T: ...
The -> is highlighted red, seemingly indicating a syntax error, although there is no syntax error.
Originally from @s-banach in https://github.com/microsoft/vscode/issues/251997