def render(request):
        """
        Get the document for this L{IRenderable}.

        @type request: L{IRequest} provider or L{None}
        @param request: The request in response to which this method is being
            invoked.

        @return: An object which can be flattened.
        """

        Get the document for this L{IRenderable}.

        @type request: L{IRequest} provider or L{None}
        @param request: The request in response to which this method is being
            invoked.

        @return: An object which can be flattened.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/iweb.py