r/Python • • Jan 05 '18

Really??

Post image
2.0k Upvotes

317 comments sorted by

View all comments

Show parent comments

1

u/wasmachien Jan 05 '18

How does Python handle multiple inheritance when two base classes have a member with the same name?

1

u/Raijinili Jan 06 '18

You can also specify which method to call by writing BaseClass2.method(myobject, args).