Misc lint stuff from pycharm...

that has been applied to decompyle3 already
This commit is contained in:
rocky
2022-09-16 15:38:13 -04:00
parent 4260deea11
commit 4b2a2e218a
12 changed files with 31 additions and 20 deletions

View File

@@ -120,7 +120,7 @@ class Scanner37(Scanner37Base):
return new_tokens
def ingest(
self, co, classname=None, code_objects={}, show_asm=None
self, bytecode, classname=None, code_objects={}, show_asm=None
) -> Tuple[list, dict]:
"""
Create "tokens" the bytecode of an Python code object. Largely these
@@ -141,7 +141,7 @@ class Scanner37(Scanner37Base):
cause specific rules for the specific number of arguments they take.
"""
tokens, customize = Scanner37Base.ingest(
self, co, classname, code_objects, show_asm
self, bytecode, classname, code_objects, show_asm
)
new_tokens = []
for i, t in enumerate(tokens):