2017年3月23日

python类的继承的两种方式

摘要: class Animal(object): """docstring for Animal""" def __init__(self, name): self.name = name def run(self): print 'Animal is running...'class Dog(Anima 阅读全文

posted @ 2017-03-23 20:25 林肯公园 阅读(2104) 评论(0) 推荐(0)

导航