标签:print request outer family before fun mil out main
def w1(main_func):
def outer(request,kargs):
print(‘before‘)
main_func(request,kargs)
print(‘after‘)
return outer
@w1
def show(request,kargs):
print(‘show‘)
show(‘1‘,‘2‘)
标签:print request outer family before fun mil out main
原文地址:http://www.cnblogs.com/POP-w/p/7495149.html