You feel that a custom metaclasses is overkill for the simple job of class initialization, and you would rather use a simpler solution.
您觉得对于类初始化这类简单的工作使用自定义元类是杀鸡用牛刀,所以想要使用一种更为简单的解决方案。
You feel that a custom metaclasses is overkill for the simple job of class initialization, and you would rather use a simpler solution.
您觉得对于类初始化这类简单的工作使用自定义元类是杀鸡用牛刀,所以想要使用一种更为简单的解决方案。
应用推荐