parameters: (self, *args, **kwargs)
return_statement: return TemplateStream(self.generate(*args, **kwargs))
docstring: Works exactly like :meth:`generate` but returns a
          :class:`TemplateStream`.
docstring_summary: Works exactly like :meth:`generate` but returns a
          :class:`TemplateStream`.
docstring_tokens: Works exactly like : meth : generate but returns a : class : TemplateStream .
function: def stream(self, *args, **kwargs):
          """Works exactly like :meth:`generate` but returns a
          :class:`TemplateStream`.
          """
          return TemplateStream(self.generate(*args, **kwargs))
function_tokens: def stream ( self , * args , * * kwargs ) : return TemplateStream ( self . generate ( * args , * * kwargs ) )