Discuss / Python / 个人理解

个人理解

Topic source

冲天魔王

#1 Created at ... [Delete] [Delete and Lock User]

def dy(f): print('在这里将调用闭包函数') def zf(args, *kw): print('这里是被最后一句返回调用的%s'%f.name) return f#再返回f函数 return zf#即将调用子方法 @dy def now(): print("test") now()


  • 1

Reply