tracer: recognize Python 3.13's CALL_KW opcode.

This commit is contained in:
Wanda 2023-10-20 16:05:37 +02:00 committed by Catherine
parent bc316b41a8
commit 1159e52921

View file

@ -25,7 +25,7 @@ def get_var_name(depth=2, default=_raise_exception):
else:
break
if call_opc not in ("CALL_FUNCTION", "CALL_FUNCTION_KW", "CALL_FUNCTION_EX",
"CALL_METHOD", "CALL"):
"CALL_METHOD", "CALL", "CALL_KW"):
if default is _raise_exception:
raise NameNotFound
else: