立即学习:https://edu.csdn.net/course/play/24797/282189?utm_source=blogtoedu
def test(fn):
print('test函数')
return 'test函数22222'
def test1(fn):
print('test1函数')
def test111(*args):
print('in')
fn(*args)
print('out')
return test111
@test
def test2():
print('test2函数')
print(test2)
print('_' * 30)
@test1
def test3(a, b):
print('test2函数')
print('No.=' , a)
print('No.=' , b)
test3(6,7)
print('_' * 30)