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.
code: def _getargnames(self, func):
      # type: (Callable) -> List[str]
      try:
          return getargspec(func).args
      except TypeError:
          if hasattr(func, "func_code"):
              # Cython-generated code has all the attributes needed
              # by inspect.getargspec, but the inspect module only
              # works with ordinary functions. Inline the portion of
              # getargspec that we need here. Note that for static
              # functions the @cython.binding(True) decorator must
              # be used (for methods it works out of the box).
              code = func.func_code  # type: ignore
              return code.co_varnames[: code.co_argcount]
          raise
  
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 2 for calling the ArgReplacer obj's underlying member method code with example usage: obj._getargnames(func) and returns: getargspec, code