is this the right way to do subclasses?

John Salerno johnjsal at NOSPAMgmail.com
Thu Nov 9 16:29:40 CET 2006


Bruno Desthuilliers wrote:
> John Salerno a écrit :
>> Peter Otten wrote:
>>
>>> You may need a no-op implementation of fix_attributes() in the Character
>>> class.
>>
>>
>> What does that mean? Is that in case I use Character directly to 
>> create an object?
> 
> Most propbably it can be useful for other character classes that don't 
> need too fix attributes.

Ah, I get it!



More information about the Python-list mailing list