摘要:import time # 函数装饰器 def runtime(fun1): def inner(*args, **kwargs): """inner doc """ start_time = time.time() f = fun1(*args, **kwargs) time.sleep(1) end_t... 阅读全文
posted @ 2019-05-30 10:15 子鱼珠帘 阅读(69) 评论(0) 推荐(0) 编辑