高阶函数
摘要:
import time def bar(): time.sleep(3) print('in the bar') def test1(func): start_time=time.time() # print(func) func() stop_time=time.time() print('the func is %s' %(sto... 阅读全文
posted @ 2017-03-14 22:37 裤裆内隐藏杀气 阅读(144) 评论(0) 推荐(0) 编辑