human
Complete this python program:
def _makeRequestProxyFactory(clsToWrap):
assistant
#Here is the Python code you requested.

    """Return a callable that proxies instances of C{clsToWrap} via
    L{_IDeprecatedHTTPChannelToRequestInterface}.
    @param clsToWrap: The class whose instances will be proxied.
    @type cls: L{_IDeprecatedHTTPChannelToRequestInterface}
    implementer.
    @return: A factory that returns
    L{_IDeprecatedHTTPChannelToRequestInterface} proxies.
    @rtype: L{callable} whose interface matches C{clsToWrap}\s constructor.
    """
    def _makeRequestProxy(*args, **kwargs):
        instance = clsToWrap(*args, **kwargs)
        return _IDeprecatedHTTPChannelToRequestInterfaceProxy(instance)
    directlyProvides(_makeRequestProxy, providedBy(clsToWrap))
    return _makeRequestProxy