I have a class that inherits from two other classes, so:
# library_file.py
from foo import A, B
class Base(A, B):
...
...elsewhere I have a subclass that inherits from this Base class...
# my_file.py
from bar import C
from library_file import Base
class MyClass(Base):
.....
I would like Base to actually inherit C rather than B without hacking the original file (library_file.py
). Is there any way of approaching this?