(self, typ: Type)
| 5240 | s.type = None |
| 5241 | |
| 5242 | def is_classvar(self, typ: Type) -> bool: |
| 5243 | if not isinstance(typ, UnboundType): |
| 5244 | return False |
| 5245 | sym = self.lookup_qualified(typ.name, typ) |
| 5246 | if not sym or not sym.node: |
| 5247 | return False |
| 5248 | return sym.node.fullname == "typing.ClassVar" |
| 5249 | |
| 5250 | def is_final_type(self, typ: Type | None) -> bool: |
| 5251 | if not isinstance(typ, UnboundType): |
no test coverage detected