Re:Python Lists vs. Tuples
by kazinator on Friday August 19, 2016 @10:26PM
(#12324822)
But a sibling comment to yours by shoyer argues that mutable objects can be elements of a tuple. A tuple whose elements are mutable is effectively mutable.
Can (1, 2, [3]) be used in a hash table, and what if the [3] is mutated to [3, 4]?
Can (1, 2, [3]) be used in a hash table, and what if the [3] is mutated to [3, 4]?