Open
Description
Describe the Bug
from typing import Any, Tuple
def g(ann) -> None:
if ann is Tuple: ...
ann.__module__ # E: TODO: Expr::attr_infer_for_type attribute base undefined for type: type[Tuple] | Unknown (trying to access __module__)
This should not be an error. We are not handling things properly and may need to add a new variant to attr base.
Sandbox Link
(Only applicable for extension issues) IDE Information
No response