You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Merge pull request #382 from lostbeta/master
Fix version check comparison
This commit is contained in:
@@ -338,7 +338,7 @@ def customize_for_version36(self, version):
|
|||||||
kwargs = kwargs[0]
|
kwargs = kwargs[0]
|
||||||
call_function_ex = node[-1]
|
call_function_ex = node[-1]
|
||||||
assert call_function_ex == "CALL_FUNCTION_EX_KW" or (
|
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'
|
# FIXME: decide if the below test be on kwargs == 'dict'
|
||||||
if (
|
if (
|
||||||
|
Reference in New Issue
Block a user