class attribute to instance attribute

Devan L devlai at gmail.com
Thu Jun 30 17:09:37 EDT 2005


Why make it an instance attribute? Couldn't you just look at the class
attribute? If its something that depends on each instance's value
assigned to the attribute, why not make it an instance attribute to
start with?




More information about the Python-list mailing list