diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-01-01 11:39:46 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-01-01 11:39:46 +0900 |
commit | e628afd5cd0c565f1e33abb01cac26180455182f (patch) | |
tree | 3b7cddfe175c444588a0b8d9e80430faeb994b8c /sphinx/util/docutils.py | |
parent | 9458d631d0393956005754ed8137809e15635467 (diff) | |
parent | c5b653433d3fbdca47396f17161685f50d994320 (diff) | |
download | sphinx-git-e628afd5cd0c565f1e33abb01cac26180455182f.tar.gz |
Merge branch '2.0'
Diffstat (limited to 'sphinx/util/docutils.py')
-rw-r--r-- | sphinx/util/docutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py index e00e0c0b8..16b09bd7c 100644 --- a/sphinx/util/docutils.py +++ b/sphinx/util/docutils.py @@ -4,7 +4,7 @@ Utility functions for docutils. - :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. + :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -296,7 +296,7 @@ def switch_source_input(state: State, content: StringList) -> Generator[None, No class SphinxFileOutput(FileOutput): """Better FileOutput class for Sphinx.""" - def __init__(self, **kwargs) -> None: + def __init__(self, **kwargs: Any) -> None: self.overwrite_if_changed = kwargs.pop('overwrite_if_changed', False) super().__init__(**kwargs) |