Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Carlos Marin
8,009 PointsObject-Oriented Python: Multiple Superclasses by Kenneth Love
4:25-4:50: "Some times when you run this code, depending on the version of Python that you're on, this might fail. You might get an error that there's no attribute agile or attribute sneaky. And even though we are using super on all of these, sometimes the keys and values don't always get passed up to where they need to be because the MRO falls down and Python fails to put things where the need to go."
What does Kenneth mean by "because the MRO falls down"?
1 Answer
Chris Freeman
Treehouse Moderator 68,468 PointsI have a very long answer to this here, but in short:
"TL;DR: You can not depend on *args to pass along positional arguments due to the unknown number of arguments consumed by a variable number of parent classes ahead of a another class in the Method Resolution Order (MRO)."