2017年7月3日

day30 python类的继承,抽象类等

摘要: Python之路,Day17 = Python基础17-面向对象入门 继承 class Student(People): pass print(Student.__bases__) # 查看 Student 所继承的类,得到的结果是元组 继承 object 的类为新式类没有继承的为经典类(pytho 阅读全文

posted @ 2017-07-03 19:05 何必从头 阅读(173) 评论(0) 推荐(0) 编辑

导航