I finally upgraded my python version and I was discovering the new features added. Among other things, I was scratching my head around the new __init_subclass__ method. From
I would like to add some references related to metaclasses and __init_subclass__
that may be helpful.
Background
__init_subclass__
was introduced as an alternative to creating metaclasses.
Here is a 2-minute summary of PEP 487 in a talk by one of the core developers, Brett Cannon.
Recommended References