摘要: 1.from functools import wraps 这个函数可以保留原来函数的属性 hello inner None 在这是掉functools模块的调用以后,可以看出,我们调用的函数 car() 实际是闭包函数里面的inner()函数。如果加入functools模块呢 亲爱的詹姆斯先生,神 阅读全文
posted @ 2019-02-28 16:07 恶灵酒 阅读(172) 评论(0) 推荐(0) 编辑