From 550ba0c9500402534166147302bfd385d249b881 Mon Sep 17 00:00:00 2001 From: fdai7763 Date: Tue, 23 Jan 2024 20:17:41 +0100 Subject: [PATCH] refactoring: simplified by removing unnecessary variable --- src/main/py/read_math_function.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index 150f76e..4470d08 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -4,5 +4,4 @@ def read_constant(type, value): return value def is_string(value): - result = isinstance(value, str) - return result + return isinstance(value, str)