def lookupRenderMethod(self, name):
        """
        Look up and return the named render method.
        """
        method = renderer.get(self, name, None)
        if method is None:
            raise MissingRenderMethod(self, name)
        return method

        Look up and return the named render method.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/_element.py