On Fri, 29 May 2009 12:04:53 +0200, Javier Collado wrote: > Hello, > > First thing is a class variable (one for every instance) and second one > an instance variable (one per instance).
One of these things don't belong: A string variable is a variable holding a string. A float variable is a variable holding a float. An int variable is a variable holding an int. A list variable is a variable holding a list. A "class variable" is an attribute of a class object, holding an object of arbitrary type, which is shared by all instances of the class. Please don't use the term "class variable" to mean class attribute. -- Steven -- http://mail.python.org/mailman/listinfo/python-list