class copy_argspec(object):
    """
    copy_argspec is a signature modifying decorator.  Specifically, it copies
    the signature from `source_func` to the wrapper, and the wrapper will call
    the original function (which should be using *args, **kwds).  The argspec,
    docstring, and default values are copied from src_func, and __module__ and
    __dict__ from tgt_func.
    """

def __init__(self, src_func):
    self.argspec = inspect.getargspec(src_func)
Как я могу программно изменить argspec функции *not* в декораторе python?