[Python-Dev] Issue10403 - using 'attributes' instead of members in documentation

Bill Janssen janssen at parc.com
Mon Jun 27 17:51:48 CEST 2011


Nick Coghlan <ncoghlan at 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


More information about the Python-Dev mailing list