Hi,

I have a simple class that subclasses a list:

class CaListOfObj(list):
    """ subclass of list """
    def __init__(self, *args, **kwargs):
        list.__init__(self, *args, **kwargs)

a= CaListOfObj([1,2,3])

Is it possible to have a method in the class that is called EVERY time
a is modified?

Thanks

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

Reply via email to