Two things:
- A call to super doesn't make senseif a class is not derived, and
class b seems superfuous.
- Code below is a working example of your code, the way you did it it
generates an error.
-#!/usr/bin/env python
-class A(object):
-def __init__(self):
-super(A, self).__init__()
-
Hello Everyone,
Given:
class A:
def __init__(self):
super(A, self).__init__()
self.dog = "fluffy"
def changeDog(self):
self.dog = "spike"
class B:
def __init__(self):
super(B, self).__init__()
class C(object, A, B):
def __init__(self):
sup