Guido van Rossum <[email protected]> added the comment:
Let's first see whether the type (int | list[T]) is accepted by static checkers. IMO introspecting unions should be done by looking at __args__, nothing more. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue44490> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
