You feel that a custom metaclasses is overkill for the simple job of class initialization, and you would rather use a simpler solution.
您觉得对于类初始化这类简单的工作使用自定义元类是杀鸡用牛刀,所以想要使用一种更为简单的解决方案。
Metaclasses are more fragile than many people realize.
元类比很多人认识到的更加脆弱。
Metaclasses are more fragile than many people realize.
元类比很多人认识到的更加脆弱。
应用推荐