Open KELEN opened 1 year ago
https://www.kelen.cc/posts/5c8c9b55dc23fa05f95045ae
装饰器(Decorator)函数,是用来修改类的行为,一个装饰器函数有三个参数,target 装饰的目标对象,name 类的成员,属性or方法
https://www.kelen.cc/posts/5c8c9b55dc23fa05f95045ae
装饰器(Decorator)函数,是用来修改类的行为,一个装饰器函数有三个参数,target 装饰的目标对象,name 类的成员,属性or方法