def renders_impl(self, template_content, context, **kwargs):
if "<STR_LIT:file>" in kwargs:<EOL><INDENT>kwargs["<STR_LIT:file>"] = None<EOL><DEDENT>kwargs["<STR_LIT:source>"] = template_content<EOL>return self.__render(context, **kwargs)<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 kwargs: Keyword arguments such as:
    - at_paths: Template search paths but it is not actually processed
      in this module (TODO)
    - at_encoding: Template encoding but it is not actually prcoessed
      in this module (TODO)
    - Other keyword arguments passed to the template engine to render
      templates with specific features enabled.

:return: Rendered string