class_docstr: Replaces one value in an ``args, kwargs`` pair.
  
  Inspects the function signature to find an argument by name
  whether it is passed by position or keyword.  For use in decorators
  and similar wrappers.
docstr: Returns the old value of the named argument without replacing it.
  
  Returns ``default`` if the argument is not present.
docstr_tok: ["Returns","the","old","value","of","the","named","argument","without","replacing","it",".","Returns","``","default","``","if","the","argument","is","not","present","."]
code: def get_old_value(self, args, kwargs, default=None):
      # type: (List[Any], Dict[str, Any], Any) -> Any
      """Returns the old value of the named argument without replacing it.
  
      Returns ``default`` if the argument is not present.
      """
      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)
  
imports: from __future__ import absolute_import, division, print_function
  import array
  import atexit
  import os
  import re
  import sys
  import zlib
label_desc: Use image node_id 3 for calling the ArgReplacer obj's underlying member method code with example usage: obj.get_old_value(args, kwargs, default) and returns: args, kwargs