twisted.web.template.renderElement(request, element, doctype="""<!DOCTYPE html>""", _failElement=None) function documentationtwisted.web.template
          View Source
          
        
      Render an element or other IRenderable.
| Parameters | request | The Request being rendered to. | 
| element | An IRenderable which will be rendered. | |
| doctype | A bytes which will be written as the first line of the request, or None to disable writing of a doctype.  The string should not include a trailing newline and will default to the HTML5 doctype '<!DOCTYPE html>'. | |
| Returns | NOT_DONE_YET | |
| Present Since | 12.1 | |
| Function | eb | Undocumented |