Vladimir

48%
Flag icon
Since every method ot UpperCaseMixin calls super(), this mixin depends on a sibling class that implements or inherits methods with the same signature. To make its contribution, a mixin usually needs to appear before other classes in the MRO of a subclass that uses it. In practice, that means mixins must appear first in the tuple of base classes in a class declaration.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview