摘要: super()用于调用父类方法 http://www.runoob.com/python/python func super.html super() 函数是用于调用父类(超类)的一个方法。 而py3可以这样写 子类调用父类方法: super https://python3 cookbook.rea 阅读全文
posted @ 2018-09-07 15:08 mmaotai 阅读(342) 评论(0) 推荐(0) 编辑
摘要: Isinstance() 函数来判断一个对象是否是一个已知的类型,类似 type()。 isinstance() 与 type() 区别: 实际使用 阅读全文
posted @ 2018-09-07 15:07 mmaotai 阅读(1352) 评论(0) 推荐(0) 编辑