Python - 单继承(__str__+__repr__)

# MRO: method resolution order 方法解析顺序 # solute 溶质 # solution 溶液、解决方案 # resolute 坚定的、果断的 # resolution 解决、解析 # string 字符串 # represent 表明、表示 # reproduce 复制、再生python Example: spa #能够省略括号,也能够加上括号,也能够在括号中加入
相关文章
相关标签/搜索