Class variables static by default?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Dec 20 11:15:41 CET 2009


On Sat, 19 Dec 2009 20:28:07 -0800, Chris Rebert wrote:

>> Surely, since string variables are strings, and float variables are
>> floats, and bool variables are bools, and module variables are modules,
>> a class variable will be a class and an instance variable will be an
>> instance?
> 
> As they say, the exception proves the rule. :)

http://www.worldwidewords.org/qa/qa-exc1.htm



-- 
Steven



More information about the Python-list mailing list