Message88508
Lars, I think that your question has a simple explanation, and is not
related to the original issue:
- On 4th line, the variable named "A" is bound to a new type object.
This type has no attribute by itself.
- The first dir(A) displays the attributes of the bases class, which are
the previous A and B: you see ['one', 'two']
- The second dir(A) displays the attributes of the bases class, which
are B and C: you see ['two', 'three']
The instruction "A = type(...)" causes A to refer to another object; it
does not change the object previously contained in A. |
|
Date |
User |
Action |
Args |
2009-05-29 14:07:53 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, mwh, glchapman, lorph, farcat |
2009-05-29 14:07:53 | amaury.forgeotdarc | set | messageid: <1243606073.52.0.315275831496.issue672115@psf.upfronthosting.co.za> |
2009-05-29 14:07:51 | amaury.forgeotdarc | link | issue672115 messages |
2009-05-29 14:07:50 | amaury.forgeotdarc | create | |
|