Skip to content

Commit 1159e52

Browse files
wanda-phiwhitequark
authored andcommitted
tracer: recognize Python 3.13's CALL_KW opcode.
1 parent bc316b4 commit 1159e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth/tracer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_var_name(depth=2, default=_raise_exception):
2525
else:
2626
break
2727
if call_opc not in ("CALL_FUNCTION", "CALL_FUNCTION_KW", "CALL_FUNCTION_EX",
28-
"CALL_METHOD", "CALL"):
28+
"CALL_METHOD", "CALL", "CALL_KW"):
2929
if default is _raise_exception:
3030
raise NameNotFound
3131
else:

0 commit comments

Comments
 (0)