(self, o: OperatorAssignmentStmt)
| 585 | return lvalue_type |
| 586 | |
| 587 | def visit_operator_assignment_stmt(self, o: OperatorAssignmentStmt) -> None: |
| 588 | super().visit_operator_assignment_stmt(o) |
| 589 | self.process_lvalue(o.lvalue) |
| 590 | method = op_methods[o.op] |
| 591 | self.add_attribute_dependency_for_expr(o.lvalue, method) |
| 592 | if o.op in ops_with_inplace_method: |
| 593 | inplace_method = "__i" + method[2:] |
| 594 | self.add_attribute_dependency_for_expr(o.lvalue, inplace_method) |
| 595 | |
| 596 | def visit_for_stmt(self, o: ForStmt) -> None: |
| 597 | super().visit_for_stmt(o) |
nothing calls this directly
no test coverage detected