diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-04-10 00:32:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-10 00:32:26 +0900 |
commit | fe6d95e4294f47d61f1a04a1f8c6567c9802f504 (patch) | |
tree | 33a7143bf1dcf60830c2e1fcd4b396175af45e64 /sphinx/builders/text.py | |
parent | 7327e56dff865d4766c43d46405ae827e10fd6c3 (diff) | |
parent | ce5d66e618c111b115a9bb7b1401a26483fcfa8f (diff) | |
download | sphinx-git-fe6d95e4294f47d61f1a04a1f8c6567c9802f504.tar.gz |
Merge branch 'master' into patch-1
Diffstat (limited to 'sphinx/builders/text.py')
-rw-r--r-- | sphinx/builders/text.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/builders/text.py b/sphinx/builders/text.py index ae770818c..2ac1b2878 100644 --- a/sphinx/builders/text.py +++ b/sphinx/builders/text.py @@ -33,11 +33,11 @@ class TextBuilder(Builder): allow_parallel = True default_translator_class = TextTranslator - current_docname = None # type: str + current_docname: str = None def init(self) -> None: # section numbers for headings in the currently visited document - self.secnumbers = {} # type: Dict[str, Tuple[int, ...]] + self.secnumbers: Dict[str, Tuple[int, ...]] = {} def get_outdated_docs(self) -> Iterator[str]: for docname in self.env.found_docs: |