From 415cba697873a70486f95ddba2ea37218b3e509a Mon Sep 17 00:00:00 2001 From: lostBeta Date: Sun, 9 Jan 2022 18:52:48 +0200 Subject: [PATCH] Fix version check comparison --- uncompyle6/semantics/customize36.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncompyle6/semantics/customize36.py b/uncompyle6/semantics/customize36.py index 1074fca8..9df98ad1 100644 --- a/uncompyle6/semantics/customize36.py +++ b/uncompyle6/semantics/customize36.py @@ -338,7 +338,7 @@ def customize_for_version36(self, version): kwargs = kwargs[0] call_function_ex = node[-1] assert call_function_ex == "CALL_FUNCTION_EX_KW" or ( - self.version >= 3.6 and call_function_ex == "CALL_FUNCTION_EX" + self.version >= (3, 6) and call_function_ex == "CALL_FUNCTION_EX" ) # FIXME: decide if the below test be on kwargs == 'dict' if (