python_装饰器
摘要:
def demo(func): def inner(): print ('111111') func() return inner @demo def home(): print ('home') home() def book(): print ('book') def finance(): pr 阅读全文
posted @ 2018-01-11 13:58 augustyang 阅读(150) 评论(0) 推荐(0) 编辑