[issue44529] Using typing.Union in isinstance checks

Kaleb Barrett report at bugs.python.org
Mon Jun 28 21:56:56 EDT 2021


Kaleb Barrett <dev.ktbarrett at gmail.com> added the comment:

Ah, this was implemented for 3.10 as a part of PEP 604. https://www.python.org/dev/peps/pep-0604/#isinstance-and-issubclass.

Feel free to close.

----------

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


More information about the Python-bugs-list mailing list