例如:
class A: def spam(self): print(1) class B(A): def spam(self): print(2) super().spam() B().spam()
结果:
>>> 2 1 >>>
0