delegate functions to member
eckhardt at satorlaser.com
Tue Aug 10 14:20:22 CEST 2010
Peter Otten wrote:
> Ulrich Eckhardt wrote:
>> So, short follow-up question: Why does this work?
> __getattr__() is a fallback that is only tried when the normal lookup
> fails. If you need to intercept every attribute lookup use
> __getattribute__() instead:
Thank you Peter, that was the missing piece to understand it!
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
More information about the Python-list