Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typing_extensions import handling for mypy
mypy can handle `if sys.version_info` checking better than `try ... except ImportError`. This is somewhat disappointing, but the rewrite of these import lines isn't that bad and aligns with the recommendations of the mypy docs.
- Loading branch information