diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-07 10:45:39 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-07 19:36:41 +0900 |
commit | 6d4fefebf4ecee4416da016d8e647298003fb57a (patch) | |
tree | a0f8dedd36b9562a248bcf8bc8eab91d09136a58 /sphinx/builders/gettext.py | |
parent | 3e0618ba3a84c7db51813cab43779d11c5fe7802 (diff) | |
download | sphinx-git-6d4fefebf4ecee4416da016d8e647298003fb57a.tar.gz |
Deprecate codes for python 3.5
Diffstat (limited to 'sphinx/builders/gettext.py')
-rw-r--r-- | sphinx/builders/gettext.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py index 65f112510..3fb7595ee 100644 --- a/sphinx/builders/gettext.py +++ b/sphinx/builders/gettext.py @@ -13,7 +13,7 @@ from collections import defaultdict, OrderedDict from datetime import datetime, tzinfo, timedelta from os import path, walk, getenv from time import time -from typing import Any, Dict, Iterable, Generator, List, Set, Tuple, Union +from typing import Any, DefaultDict, Dict, Iterable, Generator, List, Set, Tuple, Union from uuid import uuid4 from docutils import nodes @@ -34,10 +34,6 @@ from sphinx.util.osutil import ensuredir, canon_path, relpath from sphinx.util.tags import Tags from sphinx.util.template import SphinxRenderer -if False: - # For type annotation - from typing import DefaultDict # for python3.5.1 - logger = logging.getLogger(__name__) POHEADER = r""" |