Skip to content
Snippets Groups Projects
Commit 3ef8315a authored by Louis Vauterin's avatar Louis Vauterin
Browse files

fix pour faire plaisir a pylint

parent eaabf1e0
No related branches found
No related tags found
No related merge requests found
Pipeline #46333 failed
...@@ -17,4 +17,7 @@ class Operator: ...@@ -17,4 +17,7 @@ class Operator:
return self.evaluate_function(left, right) return self.evaluate_function(left, right)
STANDARD_OPERATORS = { '+': Operator('+', 1, lambda a, b: a + b),'-': Operator('-', 1, lambda a, b: a - b),'*': Operator('×', 2, lambda a, b: a * b),'/': Operator('/', 2, lambda a, b: a / b)} STANDARD_OPERATORS = { '+': Operator('+', 1, lambda a, b: a + b),
'-': Operator('-', 1, lambda a, b: a - b),
'*': Operator('×', 2, lambda a, b: a * b),
'/': Operator('/', 2, lambda a, b: a / b)}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment