Handle expressions we don't have custom code for.
(self, node: ast.AST)
| 837 | return ast.Name(name, ast.Load()) |
| 838 | |
| 839 | def generic_visit(self, node: ast.AST) -> tuple[ast.Name, str]: |
| 840 | """Handle expressions we don't have custom code for.""" |
| 841 | assert isinstance(node, ast.expr) |
| 842 | res = self.assign(node) |
| 843 | return res, self.explanation_param(self.display(res)) |
| 844 | |
| 845 | def visit_Assert(self, assert_: ast.Assert) -> list[ast.stmt]: |
| 846 | """Return the AST statements to replace the ast.Assert instance. |
no test coverage detected