From: oinkoink Date: 2007-02-09T05:50:07+09:00 Subject: Re: Class-tree variables On Feb 8, 12:41 pm, dbl...@wobblini.net wrote: > Hi -- > On Fri, 9 Feb 2007, oinkoink wrote: > > There's been a lot of blog traffic lately about class variables vs. > > class instance variables. I'd like to give an example of something > > in-between: class-tree variables. These are sort of like class > > variables, but they only point downward in the inheritance tree > > rather than up. That is, each class in an inheritance tree can get > > a variable which refers to itself and all its descendents. > > Class-tree variables are implemented by class variables, but the > > implementation occurs only in the top (root) class and is inherited > > by the rest of the tree. > I think that's a typo; I don't see any class variables in your code. Yes, sorry. I meant "class instance variables" (and also "descendants") but the word "instance" got lost in careless editing.