2018年3月9日
摘要: 1. 在判断object是否是class的instances时,type和isinstance函数的区别? type(obj) => <type 'instance'> type(cls) => <type 'classobj'> 由上可知,所有obj type后统一为 instance type; 阅读全文
posted @ 2018-03-09 20:34 Py行僧 阅读(157) 评论(0) 推荐(0) 编辑