[Baypiggies] Question on Python's MRO...
rodrigc at freebsd.org
Wed Jan 4 14:29:12 EST 2017
If you haven't read them, I suggest that you read these tutorials on the
I read those tutorials a few times and went through the examples.
I found that going through the examples helped my understanding of
the MRO and differences between "old-style" and "new-style" classes.
On Wed, Jan 4, 2017 at 9:30 AM, Braun Brelin <bbrelin at gmail.com> wrote:
> Hi all,
> I'm trying to figure out how to understand Python's Method Resolution
> 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?
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies