<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def xmlrpc_method(**kwargs):
 """ Support multiple endpoints serving the same views by chaining calls to xmlrpc_method """

    # Add some default arguments
    kwargs.update(
        require_csrf=False,
        require_methods=["POST"],
        decorator=(submit_xmlrpc_metrics(method=kwargs["method"]),),
        mapper=TypedMapplyViewMapper,
    )

    def decorator(f):
        rpc2 = _xmlrpc_method(endpoint="RPC2", **kwargs)
        pypi = _xmlrpc_method(endpoint="pypi", **kwargs)
        pypi_slash = _xmlrpc_method(endpoint="pypi_slash", **kwargs)
        return rpc2(pypi_slash(pypi(f)))

    return decorator