mirror of
https://github.com/nlohmann/json.git
synced 2026-10-01 05:23:47 +07:00
Codacy (Pylint) flagged the mutable default argument that header() used as its cache. functools.lru_cache keeps the same memoization without it. The script's output is unchanged. Signed-off-by: Niels Lohmann <mail@nlohmann.me>