[issue42910] Wrong code appears in the type alias introduction

2021-01-12 Thread Casuall
Change by Casuall : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue42910> ___ ___ Python-bugs-list

[issue42910] Wrong code appears in the type alias introduction

2021-01-12 Thread Casuall
Casuall added the comment: I am using python3.8, it turned out to be a version issue, sorry -- 原始邮件 -- 发件人: "Python tr

[issue42910] Wrong code appears in the type alias introduction

2021-01-12 Thread Casuall
New submission from Casuall : I learned about type aliases on the page(https://docs.python.org/3/library/typing.html), and I found that following the code (Vector = list[float])in the tutorial, an error occurred (NameError: name 'typing' is not defined) when running. The followin