mypy
mypy copied to clipboard
fix: TypeGuard becomes bool instead of Any when passed as TypeVar (fixes #17117)
Fixes #17117.
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅