摘要: 1.1 继承与派生 1.1.1 什么是继承 class Parent1: #定义父类 pass class Parent2(object): #定义父类 pass class Sub1(Parent1): ##单继承,基类是Parent1,派生类是Sub1 pass class Sub2(Paren 阅读全文
posted @ 2018-01-24 17:38 冷风中行走~ 阅读(322) 评论(0) 推荐(0) 编辑