Wednesday 15 October 2014

Python tuples: immutable but potentially changing

Python tuples have a surprising trait: they are immutable, but their values may change. This may happen when a tuple holds a reference to any mutable object, such as a list. If you need to explain this to a colleague …



By O'Reilly Radar - Insight, analysis, and research about emerging technologies



Read it the full article here

No comments: