Loads the state of a previously saved CallStack to this instance.

def load(self):
        """
        Loads the state of a previously saved CallStack to this instance.

        """
        s = load_stack(self)
        if s:
            self.hooks = s.hooks
            self.calls = s.calls