摘要: python 面向对象十一 super函数 super函数用来解决钻石继承。 一、python的继承以及调用父类成员 父类: class Base(object): def __init__(self): print("base init.") 普通方法调用父类: class Leaf(Base): 阅读全文
posted @ 2018-10-24 20:29 lvye001 阅读(153) 评论(0) 推荐(0)