[issue40397] Refactor typing._GenericAlias

Serhiy Storchaka report at bugs.python.org
Sun May 10 05:41:19 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Even simpler: Dict[T, List[int]][str].

Dict[T, list[int]][str] also fails. But dict[T, list[int]][str] works as expected (and there are tests).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40397>
_______________________________________


More information about the Python-bugs-list mailing list