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/io.py | |
parent | 0bc530f1b7b3303e0f53e42010b629d67e79b835 (diff) |
Fix type annotation for python 3.5.1
Diffstat (limited to 'sphinx/io.py')
-rw-r--r-- | sphinx/io.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/io.py b/sphinx/io.py index 5f4ec3351..5bf2d60da 100644 --- a/sphinx/io.py +++ b/sphinx/io.py @@ -35,7 +35,8 @@ from sphinx.versioning import UIDTransform if False: # For type annotation - from typing import Dict, List, Tuple, Type # NOQA + from typing import Dict, List, Tuple # NOQA + from typing import Type # for python3.5.1 from docutils import nodes # NOQA from docutils.frontend import Values # NOQA from docutils.io import Input # NOQA |