MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/7oaay5/really/ds8qppt
r/Python • u/fabrikated • Jan 05 '18
317 comments sorted by
View all comments
Show parent comments
1
How does Python handle multiple inheritance when two base classes have a member with the same name?
4 u/sivscripts Jan 05 '18 http://python-history.blogspot.com/2010/06/method-resolution-order.html 1 u/Raijinili Jan 06 '18 You can also specify which method to call by writing BaseClass2.method(myobject, args).
4
http://python-history.blogspot.com/2010/06/method-resolution-order.html
You can also specify which method to call by writing BaseClass2.method(myobject, args).
BaseClass2.method(myobject, args)
1
u/wasmachien Jan 05 '18
How does Python handle multiple inheritance when two base classes have a member with the same name?