Can I perform multiple inheritance(python 3) using the super keyword if my child class inherits more than 1 class?
Using Parentobject.__init__(self,*args,**kwargs
) makes multiple inheritance easy
But how to perform the same using super()
class A:
def __init__(self,a):
self.a=a
class C:
def __init__(self,b):
self.b=b
class D(C,A):
def __init__(self,a,b):
A.__init__(self,a)
C.__init__(self,b)