You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Python 2.4 compliance
This commit is contained in:
@@ -394,7 +394,10 @@ class NonterminalActions:
|
||||
self.is_lambda = is_lambda
|
||||
else:
|
||||
code_index = -6
|
||||
iter_index = 4 if self.version < (3, 8) else 3
|
||||
if self.version < (3, 8):
|
||||
iter_index = 4
|
||||
else:
|
||||
iter_index = 3
|
||||
self.comprehension_walk(node, iter_index=iter_index, code_index=code_index)
|
||||
pass
|
||||
pass
|
||||
|
Reference in New Issue
Block a user