| ▲ | pansa2 2 days ago | ||||||||||||||||
> The values in tuples cannot change. The values that keys point to in a frozen dict can? The entries of a tuple cannot be assigned to, but the values can be mutated. The same is true for a `frozendict` (according to the PEP they don't support `__setitem__`, but "values can be mutable"). | |||||||||||||||||
| ▲ | vscode-rest 2 days ago | parent [-] | ||||||||||||||||
Tuple entries must be hashable, which (as far as standard library is concerned) means immutable. | |||||||||||||||||
| |||||||||||||||||