Skip to content

Commit 25fb903

Browse files
committed
Adjsut to match new xdis API
1 parent 2003553 commit 25fb903

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

decompyle3/scanners/scanner37base.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,8 @@ def tokens_append(j, token):
303303
if show_asm in ("both", "before"):
304304
print("\n# ---- disassembly:")
305305
bytecode.disassemble_bytes(
306-
co.co_code,
307-
varnames=co.co_varnames,
308-
names=co.co_names,
309-
constants=co.co_consts,
310-
cells=bytecode._cell_names,
311-
linestarts=bytecode._linestarts,
306+
co,
307+
line_starts=bytecode._linestarts,
312308
asm_format="extended",
313309
filename=co.co_filename,
314310
show_source=True,

0 commit comments

Comments
 (0)