May-17-2019, 01:47 AM
class Class(Superclass1, Superclass2): def __init__(self): super().__init__() #Superclass2 super().__init__() #Superclass1 def __repr__(self): '''I need it to work concatenating Superclass1 and Superclass2''' return super().__repr__() + ' ' + super().__repr__()Is it possible or will it inherit from Superclass1 in every method?