摘要: ###装饰器'''def f1(arg): #print 'auth' arg()def func(): print '123'f1(func)'''def auth(arg): def inner(arg1): print "hello %s" % arg1 arg() return inner@... 阅读全文
posted @ 2015-11-28 02:27 plzros 阅读(119) 评论(0) 推荐(0) 编辑