[issue29262] Provide a way to check for *real* typing.Union instances

Evan report at bugs.python.org
Sat Jan 14 09:42:52 EST 2017


Evan added the comment:

I'm also interested in this. I've been using 'thing.__origin__ is typing.Union', but this doesn't work in some of the older versions of typing.

----------
nosy: +evan_

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29262>
_______________________________________


More information about the Python-bugs-list mailing list