Add modulo operator to new math evaluator

Closes #1402.
This commit is contained in:
nyuszika7h 2020-02-08 16:02:42 +01:00 committed by Valentin Lorentz
parent f24a17e5c4
commit 0f3264cf26

View File

@ -56,6 +56,7 @@ BIN_OPS = {
ast.Sub: operator.sub, ast.Sub: operator.sub,
ast.Mult: operator.mul, ast.Mult: operator.mul,
ast.Div: operator.truediv, ast.Div: operator.truediv,
ast.Mod: operator.mod,
ast.Pow: operator.pow, ast.Pow: operator.pow,
ast.BitXor: operator.xor, ast.BitXor: operator.xor,
ast.BitOr: operator.or_, ast.BitOr: operator.or_,