My mistake... The correct __slots__ is like: __slots__ = ['_Attribute_name', '_Attribute_type', '_Attribute_range', 'label']
Could you please suggest an alternative or code improvement for the matter. Prashant -- http://mail.python.org/mailman/listinfo/python-list