You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
PEP E225 with a nod to Deepcommit
This commit is contained in:
@@ -271,7 +271,7 @@ class Scanner(object):
|
||||
code = self.code
|
||||
# Make sure requested positions do not go out of
|
||||
# code bounds
|
||||
if not (start>=0 and end<=len(code)):
|
||||
if not (start >= 0 and end <= len(code)):
|
||||
return None
|
||||
|
||||
try:
|
||||
@@ -435,7 +435,7 @@ class Scanner(object):
|
||||
# j = self.stmts.index(inst.offset)
|
||||
# self.lines[j] = offset
|
||||
|
||||
new_inst= inst._replace(starts_line=starts_line,
|
||||
new_inst = inst._replace(starts_line=starts_line,
|
||||
is_jump_target=is_jump_target,
|
||||
offset=offset)
|
||||
inst = new_inst
|
||||
|
Reference in New Issue
Block a user