"manstey" <[EMAIL PROTECTED]> writes:
> Is is possible to have two classes, ClassA and ClassB, and
> setattr(ClassA, 'xx',ClassB), AND to then have ClassA.xx store an
> integer value as well, which is not part of ClassB?
You seem somewhat confused over classes and instances. There's little
need t
manstey wrote:
> Hi,
>
> Is is possible to have two classes, ClassA and ClassB, and
> setattr(ClassA, 'xx',ClassB), AND to then have ClassA.xx store an
> integer value as well, which is not part of ClassB?
>
> e.g. If ClassB has two properties, name and address:
>
> ClassA.xx=10
> ClassA.xx.nam
Hi,
Is is possible to have two classes, ClassA and ClassB, and
setattr(ClassA, 'xx',ClassB), AND to then have ClassA.xx store an
integer value as well, which is not part of ClassB?
e.g. If ClassB has two properties, name and address:
ClassA.xx=10
ClassA.xx.name = 'John'
ClassA.xx.address = 'Sydn