You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Cope more JUMP/POP_IF not being in 3.0...
more is probably needed though.
This commit is contained in:
@@ -182,9 +182,13 @@ def customize_for_version3(self, version):
|
||||
# since we pick up the iteration variable some other way and
|
||||
# we definitely don't include in the source _[dd].
|
||||
TABLE_DIRECT.update({
|
||||
'ifstmt30': ( '%|if %c:\n%+%c%-',
|
||||
'ifstmt30': ( "%|if %c:\n%+%c%-",
|
||||
(0, "testexpr_then"),
|
||||
(1, "_ifstmts_jump30") ),
|
||||
"or30": ( "%c or %c",
|
||||
(0, "expr"),
|
||||
(4, "expr") ),
|
||||
|
||||
})
|
||||
|
||||
def n_comp_iter(node):
|
||||
|
Reference in New Issue
Block a user