Commit cd2cdb5f authored by gsamain's avatar gsamain

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

parent f2150394
......@@ -5729,7 +5729,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