When is overriding __getattr__ is useful?

Rodrick Brown rodrick.brown at gmail.com
Mon Jan 7 16:54:02 CET 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