Commit 8baf7487 authored by gsamain's avatar gsamain

Fix InPlaceAssignmentNode: create a binop node with the inplace flag set

parent 68f99aa4
......@@ -5832,7 +5832,7 @@ class InPlaceAssignmentNode(AssignmentNode):
def create_binop_node(self):
from . import ExprNodes
return ExprNodes.binop_node(self.pos, self.operator, self.lhs, self.rhs)
return ExprNodes.binop_node(self.pos, self.operator, self.lhs, self.rhs, inplace=True)
class PrintStatNode(StatNode):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment