design-patterns-python icon indicating copy to clipboard operation
design-patterns-python copied to clipboard

Just curious that why this line inherits from two classes

Open liijunwei opened this issue 2 years ago • 0 comments

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

liijunwei avatar May 11 '22 11:05 liijunwei