就是将 被修饰的函数(wrapped) 的一些属性值赋值给 修饰器函数(wrapper) ,最终让属性的显示更符合我们的直觉。 详细的解释为 https://segmentfault.com/a/1190000009398663 来源:https://blog.csdn.net/qq_35899407/article/details/100896289 标签 python装饰器 python函数