parameters: (self, *args, **kwargs)
docstring: For very large templates it can be useful to not render the whole
          template at once but evaluate each statement after another and yield
          piece for piece.  This method basically does exactly that and returns
          a generator that yields one item after another as unicode strings.
  
          It accepts the same arguments as :meth:`render`.
docstring_summary: For very large templates it can be useful to not render the whole
          template at once but evaluate each statement after another and yield
          piece for piece.  This method basically does exactly that and returns
          a generator that yields one item after another as unicode strings.
docstring_tokens: For very large templates it can be useful to not render the whole template at once but evaluate each statement after another and yield piece for piece . This method basically does exactly that and returns a generator that yields one item after another as unicode strings .
function: def generate(self, *args, **kwargs):
          """For very large templates it can be useful to not render the whole
          template at once but evaluate each statement after another and yield
          piece for piece.  This method basically does exactly that and returns
          a generator that yields one item after another as unicode strings.
  
          It accepts the same arguments as :meth:`render`.
          """
          vars = dict(*args, **kwargs)
          try:
              for event in self.root_render_func(self.new_context(vars)):
                  yield event
          except Exception:
              exc_info = sys.exc_info()
          else:
              return
          yield self.environment.handle_exception(exc_info, True)
function_tokens: def generate ( self , * args , * * kwargs ) : vars = dict ( * args , * * kwargs ) try : for event in self . root_render_func ( self . new_context ( vars ) ) : yield event except Exception : exc_info = sys . exc_info ( ) else : return yield self . environment . handle_exception ( exc_info , True )