摘要: 装饰器,带参数装饰器,装饰器中带参数 1 import time 2 3 # 普通装饰器 4 ''' 5 def time_decor(func): 6 def wrapper(): 7 star_time = time.time() 8 func() 9 down_time = time.time 阅读全文
posted @ 2020-01-17 17:55 情调丶 阅读(135) 评论(0) 推荐(0) 编辑