函数的装饰器
摘要:
# 案例一错误改变了源代码# import time# def func(x,y):# start=time.time()# time.sleep(3)# print("index %s %s" %(x,y))# stop=time.time()# print(stop-start)## func( 阅读全文
posted @ 2021-03-29 15:37 Double陈 阅读(33) 评论(0) 推荐(0)
posted @ 2021-03-29 15:37 Double陈 阅读(33) 评论(0) 推荐(0)
posted @ 2021-03-29 15:33 Double陈 阅读(91) 评论(0) 推荐(0)
posted @ 2021-03-29 15:32 Double陈 阅读(42) 评论(0) 推荐(0)
posted @ 2021-03-29 15:30 Double陈 阅读(60) 评论(0) 推荐(0)
posted @ 2021-03-29 15:29 Double陈 阅读(51) 评论(0) 推荐(0)
posted @ 2021-03-29 15:28 Double陈 阅读(62) 评论(0) 推荐(0)