Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

You can already write such code in 3.10. In earlier Python versions you can 
either write annotation explicitly as string or (since 3.7) use and import 
suggested by Irit.

----------
nosy: +serhiy.storchaka
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42503>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to