Return whether the expression is ClassVar[...]
(expr: NameExpr)
| 5318 | |
| 5319 | |
| 5320 | def is_class_var(expr: NameExpr) -> bool: |
| 5321 | """Return whether the expression is ClassVar[...]""" |
| 5322 | if isinstance(expr.node, Var): |
| 5323 | return expr.node.is_classvar |
| 5324 | return False |
| 5325 | |
| 5326 | |
| 5327 | def is_final_node(node: SymbolNode | None) -> bool: |
no test coverage detected
searching dependent graphs…