摘要: def deco(func): def wrapper(): print("1 before myfunc() called.") func() print(" 2 after myfunc() called.") return wrapper@decodef myfun(): print("myf 阅读全文
posted @ 2017-05-28 22:50 mljqqh 阅读(100) 评论(0) 推荐(0)