How can I create a dict that sets a flag if it's been modified

Paul Rubin http
Thu Jan 12 09:14:12 EST 2006


Steve Holden <steve at holdenweb.com> writes:
> > Make a subclass of dict, or an object containing a dictionary, that
> > has a special __setattr__ method that traps updates and sets that
> 
> /__setattr__/__setitem__/ ?

Yes, thinkographical error.  Thanks.



More information about the Python-list mailing list