def lookupRenderMethod(name):
        """
        Look up and return the render method associated with the given name.

        @type name: L{str}
        @param name: The value of a render directive encountered in the
            document returned by a call to L{IRenderable.render}.

        @return: A two-argument callable which will be invoked with the request
            being responded to and the tag object on which the render directive
            was encountered.
        """

        Look up and return the render method associated with the given name.

        @type name: L{str}
        @param name: The value of a render directive encountered in the
            document returned by a call to L{IRenderable.render}.

        @return: A two-argument callable which will be invoked with the request
            being responded to and the tag object on which the render directive
            was encountered.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/iweb.py