overwrite set behavior

Wojtek Walczak gminick at bzt.bzt
Thu Sep 4 05:58:55 EDT 2008


On Thu, 04 Sep 2008 11:48:18 +0200, Michele Petrazzo wrote:
> Hi all, I want to modify the method that set use for see if there is
> already an object inside its obj-list. Something like this:
...
> It's possible?

As far as I understand you, you need descriptors:
http://users.rcn.com/python/download/Descriptor.htm


-- 
Regards,
Wojtek Walczak,
http://tosh.pl/gminick/



More information about the Python-list mailing list