What does mypy do in Python?
Correct answer
B. Statically checks type hints without running the code
5 views
B. Statically checks type hints without running the code
5 views
mypy is a static type checker.
Asked in: Python Interview Advanced
https://docs.python.org/3/library/index.htmlNot sure why the answer is B? Ask here and get an explanation.