PEP E225 with a nod to Deepcommit

This commit is contained in:
rocky
2019-04-14 06:11:16 -04:00
parent 400943bb6a
commit 9b550b9dda
21 changed files with 36 additions and 36 deletions

View File

@@ -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