Browse Source

refactoring: simplified by removing unnecessary variable

remotes/origin/feature/feature-read-math-functions
fdai7763 11 months ago
parent
commit
4c25f9e1e0
  1. 3
      src/main/py/read_math_function.py

3
src/main/py/read_math_function.py

@ -3,8 +3,7 @@ def read_constant(type, value):
return False
if is_string(value):
if is_allowed_string(type, value):
constant = calculate_string(value)
return constant
return calculate_string(value)
return value

Loading…
Cancel
Save