美文网首页
python 面向对象【1】

python 面向对象【1】

作者: proud2008 | 来源:发表于2020-05-22 11:46 被阅读0次
    #调用父类的方法
     super(LastUpdatedOrderedDict, self).__init__()
     OrderedDict.__init__(self) #或者
    #
     super(LastUpdatedOrderedDict, self).__setitem__(key,value)
     OrderedDict.__setitem__(self, key, value)
    

    相关文章

      网友评论

          本文标题:python 面向对象【1】

          本文链接:https://www.haomeiwen.com/subject/laqqahtx.html