摘要: 一.定义 1.object是所有新式类的父类 2.type是所有类的类 二.解析 print('object', object.__class__, object.__bases__) print('type', type.__class__, type.__bases__) 输出: object 阅读全文
posted @ 2018-12-24 13:34 梁少华 阅读(436) 评论(0) 推荐(0) 编辑