04 2019 档案

摘要:获取属性,方法 age <<<<<print(f.age)时调用getattribute魔法方法40 <<<<<print(f.age)时发现age不是f的属性,则调用getattribute魔法方法获取属性,方法 haha good 此处魔法方法是__getattribute__(self, it 阅读全文
posted @ 2019-04-09 10:13 月亮上的石头 阅读(211) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示