Setting an attribute without calling __setattr__()
jkugler at bigfoot.com
Sat Apr 26 03:26:48 CEST 2008
John Machin wrote:
>> Is there a way to define self.me without it firing __setattr__?
> Consider reading the *second* paragraph about __setattr__ in section
> 3.4.2 of the Python Reference Manual.
Like I said in my original post, it was probably staring me right in the
face. I had read through a bit of the documentation on special methods,
but for some reason I missed that part.
Thanks to all for your responses!
More information about the Python-list