Skip to content

Commit 9ad5992

Browse files
committed
Merge branch 'master' into python-3.6-to-3.10
2 parents 17ec5ee + 2302298 commit 9ad5992

File tree

4 files changed

+3
-19
lines changed

4 files changed

+3
-19
lines changed

uncompyle6/scanners/scanner2.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,7 @@ def ingest(self, co, classname=None, code_objects={}, show_asm=None):
208208
if show_asm in ("both", "before"):
209209
print("\n# ---- disassembly:")
210210
bytecode.disassemble_bytes(
211-
co.co_code,
212-
varnames=co.co_varnames,
213-
names=co.co_names,
214-
constants=co.co_consts,
215-
cells=bytecode._cell_names,
211+
co,
216212
line_starts=bytecode._linestarts,
217213
asm_format="extended",
218214
)

uncompyle6/scanners/scanner26.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,7 @@ def ingest(self, co, classname=None, code_objects={}, show_asm=None):
8282
if show_asm in ("both", "before"):
8383
print("\n# ---- disassembly:")
8484
bytecode.disassemble_bytes(
85-
co.co_code,
86-
varnames=co.co_varnames,
87-
names=co.co_names,
88-
constants=co.co_consts,
89-
cells=bytecode._cell_names,
85+
co,
9086
line_starts=bytecode._linestarts,
9187
asm_format="extended",
9288
)

uncompyle6/scanners/scanner3.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,11 +424,7 @@ def ingest(
424424
if show_asm in ("both", "before"):
425425
print("\n# ---- disassembly:")
426426
bytecode.disassemble_bytes(
427-
co.co_code,
428-
varnames=co.co_varnames,
429-
names=co.co_names,
430-
constants=co.co_consts,
431-
cells=bytecode._cell_names,
427+
co,
432428
line_starts=bytecode._linestarts,
433429
asm_format="extended",
434430
)

uncompyle6/scanners/scanner37base.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,6 @@ def tokens_append(j, token):
230230
print("\n# ---- disassembly:")
231231
bytecode.disassemble_bytes(
232232
co.co_code,
233-
varnames=co.co_varnames,
234-
names=co.co_names,
235-
constants=co.co_consts,
236-
cells=bytecode._cell_names,
237233
line_starts=bytecode._linestarts,
238234
asm_format="extended",
239235
filename=co.co_filename,

0 commit comments

Comments
 (0)