[issue45518] Invalid example for typing

2021-10-18 Thread Bozhi You
New submission from Bozhi You : The first example snippet under https://docs.python.org/3/library/typing.html#type-aliases is invalid to run. ``` Traceback (most recent call last): File "main.py", line 1, in Vector = list[float] TypeError: 'type' object is not

[issue45518] Invalid example for typing

2021-11-17 Thread Bozhi You
Bozhi You added the comment: My bad. Didn't notice the version constraint. Thank you, Logan! -- stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.