__getattr__ and __getattribute__

km srikrishnamohan at gmail.com
Tue May 8 07:22:03 EDT 2007


Hi all,

i find it difficult to understand the difference between the magic methods
__getattr__ and __getattribute__
and so donot know when to use former or later.
can someone  brief me on it ?
regards,
KM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070508/e3d45494/attachment.html>


More information about the Python-list mailing list