def get_default_arg_values(fn):
    'Gets the arguments and respective default values of a function.\n\n    Only arguments with default values are included in the output dictionary.\n\n    Args:\n        fn (callable): The function to inspect.\n\n    Returns:\n        dict: A dictionary that maps argument names (str) to their default\n        values. The dictionary is empty if no arguments have default values.\n    '
    argspec = _inspect_getargspec(fn)
    if (argspec.defaults is None):
        return {}
    num_defaults = len(argspec.defaults)
    return dict(zip(argspec.args[(- num_defaults):], argspec.defaults))
Gets the arguments and respective default values of a function.

Only arguments with default values are included in the output dictionary.

Args:
    fn (callable): The function to inspect.

Returns:
    dict: A dictionary that maps argument names (str) to their default
    values. The dictionary is empty if no arguments have default values.
def get_default_arg_values(fn):
    'Gets the arguments and respective default values of a function.\n\n    Only arguments with default values are included in the output dictionary.\n\n    Args:\n        fn (callable): The function to inspect.\n\n    Returns:\n        dict: A dictionary that maps argument names (str) to their default\n        values. The dictionary is empty if no arguments have default values.\n    '
    argspec = _inspect_getargspec(fn)
    if (argspec.defaults is None):
        return {}
    num_defaults = len(argspec.defaults)
    return dict(zip(argspec.args[(- num_defaults):], argspec.defaults))