[issue12491] Update glossary documentation for the term 'attribute'

R. David Murray report at bugs.python.org
Sun Jul 10 14:44:20 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

As an experienced Python programmer, I think of 'attribute' as meaning any attribute (method or non-method) of an object or class.  I sometimes do use it imprecisely (to my mind) to mean "non-method attribute", and it is usually clear from context what I mean.

Raymond, if attribute means only non-method attributes, what is the word for the set of things that contains both method and non-method...ah, attributes...of an object?

(I thought we already had this discussion both on python-dev and another issue....)

Hmm.  Actually looking at the linked entry, it looks correct to me (it covers both method and non-method attributes as far as I can see).  It might be clearer if it mentioned that a value can be anything, including a method.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12491>
_______________________________________


More information about the Python-bugs-list mailing list