摘要: # # 装饰器 # def outer(origin): # def inner(*args, **kwargs): # # 在函数执行前添加的,如print("before") # print("before") # res = origin(*args, **kwargs) # print("a 阅读全文
posted @ 2021-06-02 11:56 菜鸡要加油 阅读(13) 评论(0) 推荐(0) 编辑