Vladimir

3%
Flag icon
be aware that the immutability of a tuple only applies to the references contained in it. References in a tuple cannot be deleted or replaced. But if one of those references points to a mutable object, and that object is changed, then the value of the tuple changes.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview