diff options
Diffstat (limited to 'examples/eval_arith.py')
-rw-r--r-- | examples/eval_arith.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/eval_arith.py b/examples/eval_arith.py index 4f6082f..23f40c8 100644 --- a/examples/eval_arith.py +++ b/examples/eval_arith.py @@ -162,7 +162,10 @@ arith_expr = infixNotation( comparisonop = oneOf("< <= > >= != = <> LT GT LE GE EQ NE") comp_expr = infixNotation( - arith_expr, [(comparisonop, 2, opAssoc.LEFT, EvalComparisonOp),] + arith_expr, + [ + (comparisonop, 2, opAssoc.LEFT, EvalComparisonOp), + ], ) |