The TIL series of articles contains very short articles documenting something I learned “today”.
Today I learned how to use the dunder method __init_subclass__
to be notified when a class is subclassed.
Follow @mathsppblog on Instagram to keep up to date with the project!