Browse Source

refactoring: changed == False and == True to is False and is True

remotes/origin/feature/feature-read-math-functions
fdai7763 11 months ago
parent
commit
93d47da2b8
  1. 2
      src/main/py/read_math_function.py

2
src/main/py/read_math_function.py

@ -50,7 +50,7 @@ def calculate_constant_string(string):
def simplify_easy_math_function(type, function): def simplify_easy_math_function(type, function):
if type != "v": if type != "v":
return False return False
if is_string(function) == False or is_allowed_string("c", function) == True:
if is_string(function) is False or is_allowed_string("c", function) is True:
return simplify_constant("c", function) return simplify_constant("c", function)

Loading…
Cancel
Save