#4061·Nuitka

getattr(obj, name, default) 会捕获非 AttributeError 异常,并将其设置为默认值

作者: KRRT7创建于 2026年9月24日更新于 2026年9月24日

This is CPython's output: