Skip to content

Commit 3701667

Browse files
author
rocky
committed
Fix use of wrong variable name
1 parent 99c63f6 commit 3701667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xdis/bytecode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def get_instructions_bytes(
472472
varnames: tuple = code_object.co_varnames
473473
cellvars: tuple = code_object.co_cellvars if hasattr(code_object, "co_cellvars") else tuple()
474474
exception_entries = code_object.exception_entries if hasattr(code_object, "exception_entries") else tuple()
475-
freevars: tuple = code_object.co_cellvars if hasattr(code_object, "co_freevars") else tuple()
475+
freevars: tuple = code_object.co_freevars if hasattr(code_object, "co_freevars") else tuple()
476476

477477
cells = cellvars + freevars
478478

0 commit comments

Comments
 (0)