parameters: (template: Template, context: Context)
docstring: Render the mako template with given context.
  
      Prints an error template to indicate where and what in the template caused
      the render failure.
docstring_summary: Render the mako template with given context.
docstring_tokens: Render the mako template with given context .
function: def render_template(template: Template, context: Context) -> None:
      """Render the mako template with given context.
  
      Prints an error template to indicate where and what in the template caused
      the render failure.
      """
      try:
          template.render_context(context)
      except:
          out(exceptions.text_error_template().render())
          raise
function_tokens: def render_template ( template : Template , context : Context ) -> None : try : template . render_context ( context ) except : out ( exceptions . text_error_template ( ) . render ( ) ) raise