Re: Automatic class attribute

2006-02-03 Thread Franck PEREZ
On 2/3/06, Kirk McDonald <[EMAIL PROTECTED]> wrote: > Franck PEREZ wrote: > > Hello all, > > > > Considering the following code : > > > > class C(object): > >...: observers = [] > >...: > >...: @classmethod > >...: def showObservers(cls): > >...: print cls.ob

Re: Automatic class attribute

2006-02-03 Thread Kirk McDonald
Franck PEREZ wrote: > Hello all, > > Considering the following code : > > class C(object): >...: observers = [] >...: >...: @classmethod >...: def showObservers(cls): >...: print cls.observers > > class D1(C): >...: observers = [] #could it be move