code: def _make_render_engine(self):
          
          resolve_context = self._make_resolve_context()
          resolve_partial = self._make_resolve_partial()
  
          engine = RenderEngine(literal=self._to_unicode_hard,
                                escape=self._escape_to_unicode,
                                resolve_context=resolve_context,
                                resolve_partial=resolve_partial,
                                to_str=self.str_coerce)
          return engine
docs: Return a RenderEngine instance for rendering.