Quiz · 3 questions
🧬 OOP Advanced — MRO, Mixin, Overload, Metaclass, Descriptor
MRO / Mixin / overload / metaclass / descriptor
Level 0Curious
0 XP0/93 lessons0/23 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01What does Python's MRO guarantee in multiple inheritance?
Hint
Three rules — about subclass order, parent order, and uniqueness.
02When should you use
singledispatch instead of match?Hint
Type-based vs shape-based discrimination.
03What does
__slots__ = ('x', 'y') do to a class?Hint
What gets eliminated, and what's the trade-off?
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.