Allow pow in VercodeOperation (Closes: #1021)

This commit is contained in:
Jochen Sprickerhof 2022-07-25 16:49:48 +02:00 committed by Jochen Sprickerhof
parent 79be3c1e5d
commit 8244ffa0ff

View file

@ -4090,6 +4090,7 @@ def calculate_math_string(expr):
ast.Mult: operator.mul, ast.Mult: operator.mul,
ast.Sub: operator.sub, ast.Sub: operator.sub,
ast.USub: operator.neg, ast.USub: operator.neg,
ast.Pow: operator.pow,
} }
def execute_ast(node): def execute_ast(node):