[Tutor] Class Attribute "Overloading?"
Kent Johnson
kent37 at tds.net
Wed Aug 15 23:13:01 CEST 2007
bob gailer wrote:
> Vincent Gulinao wrote:
>> Sorry, I just started experimenting on Python classes...
>>
>> Is there any way a reference to a class attribute
>> ([class].[attribute]) be treated like a method ([class].[method]())?
>>
> Attributes are objects. A method is an object. If you want to know
> something more specific, please rephrase the question.
> I for one don't really know what you want.
And since wesley, Alan and I have given completely different answers, I
guess none of us know. A clearer question is clearly needed.
Kent
More information about the Tutor
mailing list