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
"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
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
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