Newbie: question regarding references and class relationships

Peter Otten __peter__ at web.de
Mon Jun 10 11:55:53 EDT 2013


Rui Maciel wrote:

> Peter Otten wrote:
> 
>> Rui Maciel wrote:
>> 
>>> How do you guarantee that any object of a class has a specific set of
>>> attributes?
>> 
>> You don't.
> 
> 
> What's your point regarding attribute assignments in class declarations,
> then?

I don't understand the question. My original point was that you should omit 
class attributes that don't fulfill a technical purpose.




More information about the Python-list mailing list