Python·语法 __getattribute__与__getattr__ 参加校招的时候被面试官问到了,没能答上,主要是混淆了__getattribute__和__getattr__两个魔法方法。因此这里笔记一下。 阅读全文 2018-12-15 Guan 0 条评论 13 次浏览