mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 11:30:23 +00:00
Add modulo support to expressions
Modulo support had been overlooked, it has been added back in.
This commit is contained in:
parent
a68deebec8
commit
bffa5feef8
@ -228,6 +228,7 @@ class _ExpressionFormat(string.Formatter):
|
||||
_supported_ops = {
|
||||
ast.Mult: operator.mul,
|
||||
ast.Div: operator.floordiv,
|
||||
ast.Mod: operator.mod,
|
||||
ast.Add: operator.add,
|
||||
ast.Sub: operator.sub,
|
||||
ast.LShift: operator.lshift,
|
||||
|
Loading…
Reference in New Issue
Block a user