Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36358

When is overriding __getattr__ is useful?

From Rodrick Brown <rodrick.brown@gmail.com>
Date 2013-01-07 10:54 -0500
Subject When is overriding __getattr__ is useful?
Newsgroups comp.lang.python
Message-ID <mailman.225.1357574082.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Can someone provide an example why one would want to override __getattr__
and __getattribute__ in a class?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

When is overriding __getattr__ is useful? Rodrick Brown <rodrick.brown@gmail.com> - 2013-01-07 10:54 -0500

csiph-web