Friday 30 June 2017

Mutability of a Class in Python

Cited from the book "Data Structure and Algorithms in Python"

A class is immutable if each object of that class has a fixed value upon instantiation that cannot subsequently be changed.

No comments:

Post a Comment