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


Groups > comp.lang.python > #36358 > unrolled thread

When is overriding __getattr__ is useful?

Started byRodrick Brown <rodrick.brown@gmail.com>
First post2013-01-07 10:54 -0500
Last post2013-01-07 10:54 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#36358 — When is overriding __getattr__ is useful?

FromRodrick Brown <rodrick.brown@gmail.com>
Date2013-01-07 10:54 -0500
SubjectWhen is overriding __getattr__ is useful?
Message-ID<mailman.225.1357574082.2939.python-list@python.org>

[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?

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web