Y
Hacker News
new
|
ask
|
show
|
jobs
by
mivade
1552 days ago
Correct. Keys must be immutable and hashable.
1 comments
pdonis
1552 days 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.
link