Y
Hacker News
new
|
ask
|
show
|
jobs
by
dbrueck
1628 days ago
Came here to say this. This is my most common use of metaclasses, and __init_subclass__ looks to be a much cleaner solution.