Ivan Levkivskyi <levkivs...@gmail.com> added the comment:
> But this behavior is not specified and is not covered by tests. FWIW, to be most close to the static type checkers behavior, both D[int][str] and D[int, str] should fail for D = Dict[T, List]. Not important however, since this is a really rare corner case I think. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40408> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com