To inherit from an immutable class, like string or tuple, you need to
use the __new__ member, not __init__.  See, e.g.:

http://www.python.org/2.2.3/descrintro.html#__new__

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to