From be2c68633ed3d814f0425a08d797d9a90c6d8985 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 19 Aug 2019 20:20:18 +0000 Subject: [PATCH] tracer: fix typo. Introduced in 62b3e366. --- nmigen/tracer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nmigen/tracer.py b/nmigen/tracer.py index 981ddae..f02ecd3 100644 --- a/nmigen/tracer.py +++ b/nmigen/tracer.py @@ -17,8 +17,8 @@ def get_var_name(depth=2, default=_raise_exception): code = frame.f_code call_index = frame.f_lasti while True: - call_opc = opname[code.co_code[call_index]] - if call_opc in ("EXTENDED_ARG"): + call_opc = opname[code.co_code[call_index]] + if call_opc in ("EXTENDED_ARG",): call_index += 2 else: break -- 2.30.2