5 行 · 点击行号可定位;函数链接随声明位置更新,不手填行号。
try: price = lookup(key=inputs["item"]) missing = lookup(key="absent") except RuntimeError: result = {"price": price, "caught": True}