def super_proxy(self, type): py_super = super(type, self) my_super = super3(caller=inspect.currentframe().f_back) assert py_super.__str__() == my_super.__str__() \ or (py_super.__self_class__ == my_super.__self_class__ and \ py_super.__self__ == my_super.__self__ and \ py_super.__thisclass__ == my_super.__thisclass__) return my_super
def f(self): return super3().f()
def decorated(self, *args, **kwargs): s = super3() r = getattr(s, func.__name__)() return func(self, r)
def f(self): return super3(myExplicitB, self).f()