Re: Missing member

2007-02-06 Thread Bruno Desthuilliers
Mizipzor a écrit : > I have some troubles with a member variable that seems to be missing > in a class. In short, heres what I do; class A is the parent class, B > inherits from A and C inherits from B (hope I used the right words > there). Now, I create an instance of C, which calls A's __init__ w

Re: Missing member

2007-02-05 Thread Ayaz Ahmed Khan
"Paul McGuire" typed: > Here's a suggestion: use new-style classes. Have _BaseEntity inherit > from object, allows you to use super for invoking methods on super > classes. Instead of: > class Entity(_BaseEntity): > def __init__(self, type, x = 0, y = 0): > _BaseEntity.__i

Re: Missing member

2007-02-04 Thread Paul McGuire
On Feb 4, 4:45 pm, "Mizipzor" <[EMAIL PROTECTED]> wrote: > I have some troubles with a member variable that seems to be missing > in a class. In short, heres what I do; class A is the parent class, B > inherits from A and C inherits from B (hope I used the right words > there). Now, I create an ins

Re: Missing member

2007-02-04 Thread John Machin
On Feb 5, 9:45 am, "Mizipzor" <[EMAIL PROTECTED]> wrote: > I have some troubles with a member variable that seems to be missing > in a class. In short, heres what I do; class A is the parent class, B > inherits from A and C inherits from B (hope I used the right words > there). Now, I create an ins