mirror of
https://github.com/nlohmann/json.git
synced 2026-11-18 09:21:21 +00: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>