parameters: (self, source, globals=None, template_class=None)
return_statement: return cls.from_code(self, self.compile(source), globals, None)
docstring: Load a template from a string.  This parses the source given and
          returns a :class:`Template` object.
docstring_summary: Load a template from a string.  This parses the source given and
          returns a :class:`Template` object.
docstring_tokens: Load a template from a string . This parses the source given and returns a : class : Template object .
function: def from_string(self, source, globals=None, template_class=None):
          """Load a template from a string.  This parses the source given and
          returns a :class:`Template` object.
          """
          globals = self.make_globals(globals)
          cls = template_class or self.template_class
          return cls.from_code(self, self.compile(source), globals, None)
function_tokens: def from_string ( self , source , globals = None , template_class = None ) : globals = self . make_globals ( globals ) cls = template_class or self . template_class return cls . from_code ( self , self . compile ( source ) , globals , None )