Re: Multiple Inheritance __slots__ problem

2004-12-25 Thread Craig Ringer
On Fri, 2004-12-24 at 20:07, Nitin Shukla wrote: > Hello, > > Can anyone tell why am I getting this error and how to work around this > problem. > > >>> class Klass(object): > ... __slots__ = ( 'x' ) > ... > >>> class Klass1(object): > ... __slots__ = ( 'y' ) > ... > >>> class Klass(Klass, Kl

Re: Multiple Inheritance __slots__ problem

2004-12-24 Thread Alex Martelli
Nitin Shukla <[EMAIL PROTECTED]> wrote: > Hello, > > Can anyone tell why am I getting this error and how to work around this > problem. > > >>> class Klass(object): > ... __slots__ = ( 'x' ) > ... > >>> class Klass1(object): > ... __slots__ = ( 'y' ) > ... > >>> class Klass(Klass, Klass1): >