Please use the following instead:

    return getattr(loader.root_context.resolve_dict, 'arg_doc', {})