diff options
Diffstat (limited to 'sphinx/util/template.py')
| -rw-r--r-- | sphinx/util/template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/template.py b/sphinx/util/template.py index 5a415d329..970b20177 100644 --- a/sphinx/util/template.py +++ b/sphinx/util/template.py @@ -23,7 +23,7 @@ if False: from jinja2.loaders import BaseLoader # NOQA -class BaseRenderer(object): +class BaseRenderer: def __init__(self, loader=None): # type: (BaseLoader) -> None self.env = SandboxedEnvironment(loader=loader, extensions=['jinja2.ext.i18n']) |
