Closed erictraut closed 1 week ago
…type alias (not using PEP 695 syntax) defines a union and is then used as a second argument to an isinstance or issubclass call. This addresses #8302.
isinstance
issubclass
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
…type alias (not using PEP 695 syntax) defines a union and is then used as a second argument to an
isinstance
orissubclass
call. This addresses #8302.