Re: class attribute to instance attribute
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: class attribute to instance attribute

From: Devan L <devlai@gmail.com>
Date: Thu Jun 30 2005 - 23:09:37 CEST

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?
Received on Thu Sep 29 16:40:35 2005