Commit 906fffd2 authored by gsamain's avatar gsamain

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

parent b1c21575
...@@ -5775,7 +5775,7 @@ class InPlaceAssignmentNode(AssignmentNode): ...@@ -5775,7 +5775,7 @@ class InPlaceAssignmentNode(AssignmentNode):
def create_binop_node(self): def create_binop_node(self):
from . import ExprNodes 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): 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