Small changes...

pysource.py: Bug fix for relative imports.

scanner2.py: Remove a debug expression
This commit is contained in:
rocky
2018-03-05 21:52:34 -05:00
parent cad1325a90
commit 5d24367ef6
4 changed files with 4 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ class Scanner2(Scanner):
j = self.offset2inst_index[offset]
target_index = self.offset2inst_index[target]
is_continue = (self.insts[target_index-1].opname == 'SETUP_LOOP'
and self.insts[j+1].opname == 'JUMP_FORWARD') and False
and self.insts[j+1].opname == 'JUMP_FORWARD')
if is_continue:
op_name = 'CONTINUE'
if (offset in self.stmts and