Inside a method, super() with no arguments resolves the next class to delegate to. What two pieces of information does CPython use to compute that target, and from where?
class A:
def f(self): return 'A'
class B(A):
def f(self): return 'B' + super().f()
class C(B):
def f(self): return 'C' + super().f()
print(C().f()) # 'CBA'