When is overriding __getattr__ is useful?

Rodrick Brown rodrick.brown at gmail.com
Mon Jan 7 10:54:02 EST 2013


Can someone provide an example why one would want to override __getattr__
and __getattribute__ in a class?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130107/462a9299/attachment.html>


More information about the Python-list mailing list