Skip to content

Commit 8109097

Browse files
author
rocky
committed
API is changing..
1 parent 2100f91 commit 8109097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xdis/lineoffsets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _populate_lines(self) -> None:
5252
code_map = {code.co_name: code}
5353
last_line_info = None
5454
for instr in get_instructions_bytes(
55-
bytecode=code.co_code,
55+
code_object=code,
5656
opc=self.opc,
5757
varnames=code.co_varnames,
5858
names=code.co_names,

0 commit comments

Comments
 (0)