|
|
|
|
|
by tyingq
877 days ago
|
|
There are some other warts also, like hard-to-grok errors if you're using typing syntax that's not yet supported in your version of python. Like: somevar: dict[int, int] = {0: 0, 1: 1}
Produces "TypeError: 'type' object is not subscriptable" |
|
https://peps.python.org/pep-0585/
https://peps.python.org/pep-0484/