def _make_renderer(self, at_paths, at_encoding, **kwargs):
for eopt in ("<STR_LIT>", "<STR_LIT>"):<EOL><INDENT>default = self._roptions.get(eopt, at_encoding.lower())<EOL>self._roptions[eopt] = kwargs.get(eopt, default)<EOL><DEDENT>pkey = "<STR_LIT>"<EOL>paths = kwargs.get(pkey, []) + self._roptions.get(pkey, [])<EOL>if at_paths is not None:<EOL><INDENT>paths = at_paths + paths<EOL><DEDENT>self._roptions[pkey] = paths<EOL>return pystache.renderer.Renderer(**self._roptions)<EOL>
: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.