摘要: http://www.ibm.com/developerworks/cn/linux/l-pyint/index1.html 阅读全文
posted @ 2016-05-11 11:51 tommy.yu 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 直接上代码 是不是感觉节操碎了一地? 原理剖析: 默认: class_object.attr --> 去 class_object.__dict__中寻找 attr的属性 --(没找着) > class.__dict__ (没找者) > parent_class.__dict__ (没找着) > 抛 阅读全文
posted @ 2016-05-11 10:14 tommy.yu 阅读(319) 评论(0) 推荐(0) 编辑