'Returns the old value of the named argument without replacing it.
Returns ``default`` if the argument is not present.'

def get_old_value(self, args, kwargs, default=None):

    if ((self.arg_pos is not None) and (len(args) > self.arg_pos)):
        return args[self.arg_pos]
    else:
        return kwargs.get(self.name, default)
