Python language basics 28: modifying the referenced value
July 11, 2015 1 Comment
Introduction
In the previous post we discussed the basics of value and reference equality. We saw how to evaluate these equality types with the ‘==’ and ‘is’ operators. We also found an important difference between how value and reference types are handled in memory.
In this post we’ll look at another feature related to objects and equality, namely the effects of changing the referenced value.