code: def get_old_value(self, args, kwargs, default=None):
          # type: (List[Any], Dict[str, Any], Any) -> Any
          
          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)
docs: Returns the old value of the named argument without replacing it.
  
          Returns ``default`` if the argument is not present.