Hacker News new | ask | show | jobs
by japanuspus 1812 days ago
...or `dataclass(frozen=True)` if you need the ergonomics.

For non-primitive members, `frozenset` is in the standard library, but frozen dictionaries are unfortunately lacking.