摘要: Python中super()的运作机制: super()的定义: def super(cls, instance): mro = inst.__class__.mro() return mro[mro.index(cls) + 1] mro(Method resolution order)是pyth 阅读全文
posted @ 2023-09-27 18:36 dingyang 阅读(14) 评论(0) 推荐(0) 编辑