摘要: 一、isinstance(obj, cls) and issubclass(sub, super) 1. isinstance(obj, cls),检查obj是否是类cls的对象 2. issubclass(sub, super),检查sub类是否是super类的派生类(子类) 二、反射 1. 什么 阅读全文
posted @ 2017-04-24 16:52 jack-boy 阅读(388) 评论(0) 推荐(0) 编辑
Hello world!