27 Jun
2011
27 Jun
'11
8:51 a.m.
Nick Coghlan <ncoghlan@gmail.com> wrote:
And no, the fact that methods can be treated as attributes is not a minor detail. It is *fundamental* to Python's object model that *methods are not a special case of attribute access*. All attributes work the same way, it is just the way functions implement the descriptor protocol that makes instance methods behave the way they do.
Well put, Nick. This paragraph is a good thing to read a couple of times. Bill