(self, n: ast3.If)
| 1330 | |
| 1331 | # If(expr test, stmt* body, stmt* orelse) |
| 1332 | def visit_If(self, n: ast3.If) -> IfStmt: |
| 1333 | node = IfStmt( |
| 1334 | [self.visit(n.test)], [self.as_required_block(n.body)], self.as_block(n.orelse) |
| 1335 | ) |
| 1336 | return self.set_line(node, n) |
| 1337 | |
| 1338 | # With(withitem* items, stmt* body, string? type_comment) |
| 1339 | def visit_With(self, n: ast3.With) -> WithStmt: |
nothing calls this directly
no test coverage detected