摘要: # 双层装饰器def outter(func): def wrapper(*args, **kwargs): # wrapper是未来要运行的函数 # 加功能 res = func(*args, **kwargs) # func是被装饰的函数 return res return wrapper@ou 阅读全文
posted @ 2019-08-12 15:47 年少无为腿毛怪 阅读(125) 评论(0) 推荐(0) 编辑