Commit fe3df1a1 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix for non-parse generated BinOp nodes.

parent b8e2b990
...@@ -5301,6 +5301,7 @@ class BinopNode(ExprNode): ...@@ -5301,6 +5301,7 @@ class BinopNode(ExprNode):
# - Allocate temporary for result if needed. # - Allocate temporary for result if needed.
subexprs = ['operand1', 'operand2'] subexprs = ['operand1', 'operand2']
inplace = False
def calculate_constant_result(self): def calculate_constant_result(self):
func = compile_time_binary_operators[self.operator] func = compile_time_binary_operators[self.operator]
......
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