def callNext(*args, **kargs):
        """This closure is like super(), but it calls the subclass's method."""
        method = methods.pop()
        if len(methods):
            return method(obj, callNext, *args, **kargs)
        else:
            return method(obj, *args, **kargs)
This closure is like super(), but it calls the subclass's method.
recipes/Python/363783_InverseExtend/recipe-363783.py