会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
c_G-17
博客园
首页
新随笔
联系
订阅
管理
2018年8月15日
python 中的super()继承,搜索广度为先
摘要: 一、python中类的继承 1.1 单继承 在python 中我们可以这样来定义一个类:及继承它的子类 ~~~ class Father: def __init__(self, mes): 1 父类的init构造方法 print('From Father. form {}'.format(mes))
阅读全文
posted @ 2018-08-15 00:04 G1733
阅读(170)
评论(0)
推荐(0)
编辑
公告