摘要: class Fa(): def say(self, str1): print(str1) class So(Fa): def triggerFaEvent(self): # 直接类名 . 调用, 第一个参数固定为 self # Fa.say(self, "嘻嘻") # super调用, 第一个参数是 阅读全文
posted @ 2022-03-08 20:21 深海里的星星i 阅读(291) 评论(0) 推荐(0)