design-patterns-python
design-patterns-python copied to clipboard
Just curious that why this line inherits from two classes
https://github.com/RefactoringGuru/design-patterns-python/blob/83caf9aa54934ef8671a55d71897112505122453/src/Adapter/Conceptual/class/main.py#L42
I tried, both in ruby and python, we only need to inherit from the Adaptee
class. Since python support duck typing
Pls reply if I'm wrong