[Tutor] __getattribute__

Steven D'Aprano steve at pearwood.info
Sat Feb 4 03:37:17 CET 2012


Alan Gauld wrote:
> On 04/02/12 00:30, Stayvoid wrote:
> 
>> Could you provide some examples (easy and hard ones) and comments on 
>> the topic?
>> I'm trying to understand how this thing works.
> 
> Commenting on the topic... It's not one most beginners(*) should be 
> worrying about you rarely need to use it. But its slightly easier than 
> the related __setattribute__.

That is spelled "__setattr__".



-- 
Steven



More information about the Tutor mailing list