Is this considered black magic?
lac at strakt.com
Tue Nov 13 12:31:32 CET 2001
>UML refers to methods as 'operations', and the uncallable
>attributes as 'attributes'...
I know. This is what got me into this mess in the first place...
>Python calls them "members".
seems a bit risqué to me, Andrew...
Emile van Sebille
I don't think so. Maybe too much LISP...
>Well, why not just call them (plain old) attributes and callable
The idea is to prevent the error I made, thinking that getattr was only
for (plain old) attributes. Changing all references to methods to
say callable attributes instead would achieve this, but it sits ugly in my
mouth. I couldn't stop using the word method.
Skip Montanaro and Martin v. Loewis
This is the best so far. Still is uncomfortable in my mouth, but I think
that is just because its new. I'll start practicing.
Thank you all.
More information about the Python-list