mypy
5a8cd808 - [mypyc] Optimize TYPE_CHECKING to False at Runtime (#16263)

Commit
2 years ago
[mypyc] Optimize TYPE_CHECKING to False at Runtime (#16263) Fixes [mypyc/mypyc#902](https://github.com/mypyc/mypyc/issues/902) This PR finds references of `typing.TYPE_CHECKING` or `typing_extensions.TYPE_CHECKING` and optimizes them to `False` in mypyc.
Author
Parents
Loading