Class Variable Question
Robert Johnson
rjohnson at exotic-eo.com
Tue Apr 10 09:18:32 EDT 2001
> well, you used the phrase "Class Object", and talked about adding stuff
> to the class. Python, like many other OO languages, have special class
> objects that represent the class (C++ is an exception).
Actually I called the object ClassObject. Perhaps I should have called it
InstanceObject. I did talk about adding stuff to the class when I should
have said adding stuff to the instance. I believe in being able to add to a
class. Sorry about the confusion. My original point is that it seems
quirky to me to add variables on the fly. I am not arguing against
inheritance.
Robert Johnson
More information about the Python-list
mailing list