overloading __getattr__ and inheriting from dict

Benoît Dejean bnetNOSPAM at ifrance.com
Fri Mar 12 16:09:28 EST 2004


Le Fri, 12 Mar 2004 11:05:55 -0800, Robert Brewer a écrit :

>  return dict.__getitem__(self, name)

which is the same as
 return dict.__getitem__(self, name)

i just want to KISS my class, and don't understand what is the problem
with __getattr__




More information about the Python-list mailing list