Notes

Source: đź“– Python Cookbook ch818 p294


What is a mixin?

A mixin is a class that is not intended to be used on its own—instead, it is intended to be used as part of a multiple inheritance structure within another class. Mixin classes typically do not have an __init__() method (hence why they cannot be used alone).


See also