You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
continue non-detection in Python 2.7
fixes issue 122
This commit is contained in:
@@ -900,12 +900,12 @@ class Scanner2(Scanner):
|
|||||||
'start': start-3,
|
'start': start-3,
|
||||||
'end': pre_rtarget}
|
'end': pre_rtarget}
|
||||||
|
|
||||||
elif self.version == 2.7:
|
if self.version == 2.7:
|
||||||
self.structs.append({'type': 'if-then',
|
self.structs.append({'type': 'if-then',
|
||||||
'start': start-3,
|
'start': start-3,
|
||||||
'end': pre_rtarget})
|
'end': pre_rtarget})
|
||||||
|
else:
|
||||||
self.not_continue.add(pre_rtarget)
|
self.not_continue.add(pre_rtarget)
|
||||||
|
|
||||||
if rtarget < end:
|
if rtarget < end:
|
||||||
# We have an "else" block of some kind.
|
# We have an "else" block of some kind.
|
||||||
|
Reference in New Issue
Block a user