Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mivade
· 4y ago · 0 comments
Correct. Keys must be immutable and hashable.
Comments
[–]
pdonis
4y ago
Technically keys only have to be hashable, but an object that is hashable but not immutable is not a good idea and in practice the two will go together.