(self, n: ast3.Compare)
| 1599 | |
| 1600 | # Compare(expr left, cmpop* ops, expr* comparators) |
| 1601 | def visit_Compare(self, n: ast3.Compare) -> ComparisonExpr: |
| 1602 | operators = [self.from_comp_operator(o) for o in n.ops] |
| 1603 | operands = self.translate_expr_list([n.left] + n.comparators) |
| 1604 | e = ComparisonExpr(operators, operands) |
| 1605 | return self.set_line(e, n) |
| 1606 | |
| 1607 | # Call(expr func, expr* args, keyword* keywords) |
| 1608 | # keyword = (identifier? arg, expr value) |
nothing calls this directly
no test coverage detected