MCPcopy Create free account
hub / github.com/python/mypy / visit_operator_assignment_stmt

Method visit_operator_assignment_stmt

mypy/treetransform.py:333–336  ·  view source on GitHub ↗
(
        self, node: OperatorAssignmentStmt
    )

Source from the content-addressed store, hash-verified

331 return new
332
333 def visit_operator_assignment_stmt(
334 self, node: OperatorAssignmentStmt
335 ) -> OperatorAssignmentStmt:
336 return OperatorAssignmentStmt(node.op, self.expr(node.lvalue), self.expr(node.rvalue))
337
338 def visit_while_stmt(self, node: WhileStmt) -> WhileStmt:
339 return WhileStmt(

Callers

nothing calls this directly

Calls 2

exprMethod · 0.95

Tested by

no test coverage detected