python 修饰器的使用
一.万物皆对象

二.函数修饰器的使用 (Function Decorator)

三.类中方法修饰器(Method Decorator)
四. 类装饰器(Class Decorator)
五.多装饰器同时操作 (Chain Decorators)
六.装饰时防止信息丢失

七.向装饰器传递参数
Last updated