code: def render(template, namespace, app=None):
      '''
      Render the specified template using the Pecan rendering framework
      with the specified template namespace as a dictionary. Useful in a
      controller where you have no template specified in the ``@expose``.
  
      :param template: The path to your template, as you would specify in
                       ``@expose``.
      :param namespace: The namespace to use for rendering the template, as a
                        dictionary.
      :param app: The instance of :class:`pecan.Pecan` to use
      '''
      app = app or state.app
      return app.render(template, namespacef render(template, namespace, app=None):
      '''
      Render the specified template using the Pecan rendering framework
      with the specified template namespace as a dictionary. Useful in a
      controller where you have no template specified in the ``@expose``.
  
      :param template: The path to your template, as you would specify in
                       ``@expose``.
      :param namespace: The namespace to use for rendering the template, as a
                        dictionary.
      :param app: The instance of :class:`pecan.Pecan` to use
      '''
      app = app or state.app
      return app.render(template, namespace)
docs: Render the specified template using the Pecan rendering framework
      with the specified template namespace as a dictionary. Useful in a
      controller where you have no template specified in the ``@expose``.
  
      :param template: The path to your template, as you would specify in
                       ``@expose``.
      :param namespace: The namespace to use for rendering the template, as a
                        dictionary.
      :param app: The instance of :class:`pecan.Pecan` to use