3 ms·
Came here to say this. This is my most common use of metaclasses, and __init_subclass__ looks to be a much cleaner solution.
by dbrueck 5y ago
Came here to say this. This is my most common use of metaclasses, and __init_subclass__ looks to be a much cleaner solution.