dict.get(key, default) 挡不住显式 null:键存在但值是 null 时返回 None 而不是 default

Domain: python · Evidence E0 — Contributor self-reported
pythondict-getnulljsontypeerror

Summary

Python 3.12 里过滤 DefiLlama `/protocols` API 数据时抛:

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons