[issue40814] Update typing module documentation based on PEP 585
Ken Jin
report at bugs.python.org
Sat Oct 31 12:59:23 EDT 2020
Ken Jin <kenjin4096 at gmail.com> added the comment:
IMO, this can now be closed.
Most code examples in typing were changed to builtin generics:
https://github.com/python/cpython/commit/d9ab95ff1fe81efdf70e545d536d9f6927d1ba81
https://github.com/python/cpython/commit/7f54e563dc150cd670ca8df678437455c3a7f2cd
Docs for PEP 585's GenericAlias was added:
https://github.com/python/cpython/commit/4173320920706b49a004bdddd8d7108e8984e3fc
Dict, List, and friends were also all marked as deprecated in 3.9.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40814>
_______________________________________
More information about the Python-bugs-list
mailing list