You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Another faulty Python3 ELSE tag remove
This commit is contained in:
@@ -800,7 +800,8 @@ class Scanner3(Scanner):
|
||||
|
||||
if rtarget < end and (
|
||||
code[rtarget] != self.opc.END_FINALLY
|
||||
and code[prev_op[rrtarget]] != self.opc.POP_EXCEPT):
|
||||
and code[prev_op[rrtarget]] not in (self.opc.POP_EXCEPT,
|
||||
self.opc.END_FINALLY)):
|
||||
self.structs.append({'type': 'else',
|
||||
'start': rtarget,
|
||||
'end': end})
|
||||
|
Reference in New Issue
Block a user