Mutability problem when subclassing tuple

Shalabh Chaturvedi shalabh at cafepy.com
Thu Feb 19 17:17:44 EST 2004


Edward C. Jones wrote:

> # What restrictions are there when subclassing "tuple" or other
> # types that create immutable objets?

A simple example is here (scroll to the bottom):

http://www.cafepy.com/articles/python_attributes_and_methods/ch03s02.html

--
Shalabh



More information about the Python-list mailing list