Open
Description
from typing import Protocol
class Type(Protocol):
__name__: str
__qualname__: str
__module__: str
a: type[object]
b: Type = object
c: Type = a # error: Incompatible types in assignment (expression has type "type[object]", variable has type "Type") [assignment]
a.__name__
a.__qualname__
a.__module__