mypy
92f9429f
- Treat Type[Any] as builtins.type with --strict-equality (#7824)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
6 years ago
Treat Type[Any] as builtins.type with --strict-equality (#7824) Fixes https://github.com/python/mypy/issues/7823 This makes `Type[object]`, `Type[Any]`, and `type` behave the same way w.r.t. type overlaps.
References
#7824 - Treat Type[Any] as builtins.type with --strict-equality
Author
ilevkivskyi
Parents
7ffbc531
Loading