Python装饰器
摘要:
无返回值的装饰器: 输出结果: This is test1. The func has run for 1.000288248062134 s 输出结果: In the test2 Your name isname1 The func has run for 2.0002686977386475 s 阅读全文
posted @ 2019-03-21 22:14 doubtful 阅读(226) 评论(0) 推荐(0)
posted @ 2019-03-21 22:14 doubtful 阅读(226) 评论(0) 推荐(0)
posted @ 2019-03-21 16:53 doubtful 阅读(317) 评论(0) 推荐(0)
posted @ 2019-03-21 10:53 doubtful 阅读(187) 评论(0) 推荐(0)
posted @ 2019-03-21 09:37 doubtful 阅读(285) 评论(0) 推荐(0)