diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-07-13 17:29:38 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-07-13 17:46:17 +0300 |
commit | 0c48a28ad7216ee064b0db564745d749c049bfd5 (patch) | |
tree | 2bc2f13992c930c00bd3b60ea3e2c27c31e659cd /sphinx/parsers.py | |
parent | 0bc530f1b7b3303e0f53e42010b629d67e79b835 (diff) |
Fix type annotation for python 3.5.1
Diffstat (limited to 'sphinx/parsers.py')
-rw-r--r-- | sphinx/parsers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/parsers.py b/sphinx/parsers.py index b974f83e7..f228fb31b 100644 --- a/sphinx/parsers.py +++ b/sphinx/parsers.py @@ -18,7 +18,8 @@ from sphinx.util.rst import append_epilog, prepend_prolog if False: # For type annotation - from typing import Any, Dict, List, Type, Union # NOQA + from typing import Any, Dict, List, Union # NOQA + from typing import Type # for python3.5.1 from docutils import nodes # NOQA from docutils.transforms import Transform # NOQA from sphinx.application import Sphinx # NOQA |