[Baypiggies] Question on Python's MRO...
Braun Brelin
bbrelin at gmail.com
Wed Jan 4 12:30:06 EST 2017
Hi all,
I'm trying to figure out how to understand Python's Method Resolution order.
One of the things that's really confusing me is that from my understanding
if I have a class declaration like this
class C(A,B):
...
Python does the inheritance order from right to left, yet all the tutorials
on MRO
start talking about inheritance from left to right.
Is the right to left order a property of the older Python 2 style classes
that didn't
explicitly inherit from object?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20170104/c7d75803/attachment.html>
More information about the Baypiggies
mailing list