def _make_renderer(self, at_paths, at_encoding, **kwargs):
        """
        :param at_paths: Template search paths
        :param at_encoding: Template encoding
        :param kwargs: Keyword arguments passed to the template engine to
            render templates with specific features enabled.
        """
        for eopt in ("file_encoding", "string_encoding"):
            default = self._roptions.get(eopt, at_encoding.lower())
            self._roptions[eopt] = kwargs.get(eopt, default)

        pkey = "search_dirs"
        paths = kwargs.get(pkey, []) + self._roptions.get(pkey, [])
        if at_paths is not None:
            paths = at_paths + paths
        self._roptions[pkey] = paths

        return pystache.renderer.Renderer(**self._roptions)
def _make_renderer ( self , at_paths , at_encoding , ** kwargs ) : for eopt in ( "file_encoding" , "string_encoding" ) : default = self . _roptions . get ( eopt , at_encoding . lower ( ) ) self . _roptions [ eopt ] = kwargs . get ( eopt , default ) pkey = "search_dirs" paths = kwargs . get ( pkey , [ ] ) + self . _roptions . get ( pkey , [ ] ) if at_paths is not None : paths = at_paths + paths self . _roptions [ pkey ] = paths return pystache . renderer . Renderer ( ** self . _roptions )
:param at_paths: Template search paths
        :param at_encoding: Template encoding
        :param kwargs: Keyword arguments passed to the template engine to
            render templates with specific features enabled.