Mercurial > magic
view ___getattribute__ @ 170:3003a13eb3d0
created
| author | 127.0.0.1 |
|---|---|
| date | Sat, 29 Jun 2013 18:36:24 +0200 |
| parents | 82ffad400000 |
| children |
line wrap: on
line source
{{{#!python class object: def __getattribute__(self, name): if name in self.__dict__: return self.__dict__[name] for cls in self.__class__.mro(): if name in cls.__dict__: return cls.__dict__[name] return self.__getattr__(name) }}}
