Distinguishing attributes and methods

MonkeeSage MonkeeSage at gmail.com
Sat Dec 8 03:34:06 EST 2007


On Dec 8, 2:10 am, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Fri, 07 Dec 2007 23:19:40 -0800, tjhnson wrote:
> > With properties, attributes and methods seem very similar.  I was
> > wondering what techniques people use to give clues to end users as to
> > which 'things' are methods and which are attributes.
>
> Methods are attributes.  So the decision is easy -- everything on an
> object is an attribute.  ;-)
>
> Ciao,
>         Marc 'BlackJack' Rintsch

I think he means callable attributes (methods) and non-callable
attributes (variables).

Regards,
Jordan



More information about the Python-list mailing list