From f54c3dc532289e14f8d4f6d1c72f7ee10997cdd4 Mon Sep 17 00:00:00 2001 From: fdai7763 Date: Tue, 23 Jan 2024 20:13:47 +0100 Subject: [PATCH] refactoring: return False in if-statement --- src/main/py/read_math_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index 3b6238b..af12bc3 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -1,4 +1,4 @@ def read_constant(type, value): if type != "c": - value = False + return False return value \ No newline at end of file