News for hackers. Stuff that matters.
Re:Python Lists vs. Tuples by pdonis on Friday August 19, 2016 @11:27PM (#12325020)
> You can't replace a value in a tuple, but you can modify it

If it has mutable items in it, yes. But in that case, the tuple can't be used as a dictionary key; Python checks, not just that the tuple itself is immutable, but that every object in it is immutable.

There are no comments on this comment yet.