def renders_impl(self, template_content, context, at_paths=None,<EOL>at_encoding=anytemplate.compat.ENCODING,<EOL>**kwargs):
renderer = self._make_renderer(at_paths, at_encoding, **kwargs)<EOL>ctxs = [] if context is None else [context]<EOL>return renderer.render(template_content, *ctxs)<EOL>
Render given template string and return the result.

:param template_content: Template content
:param context: A dict or dict-like object to instantiate given
    template file
: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.

:return: Rendered string