From python/mypy#7582. This partially reverts back the change in 0ee7c3c38b to have `__import__` return `Any` instead of `ModuleType`.
0ee7c3c38b