summaryrefslogtreecommitdiff
path: root/sphinx/registry.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/registry.py')
-rw-r--r--sphinx/registry.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/registry.py b/sphinx/registry.py
index 32dbd2f55..b9047cb64 100644
--- a/sphinx/registry.py
+++ b/sphinx/registry.py
@@ -26,7 +26,8 @@ from sphinx.util.logging import prefixed_warnings
if False:
# For type annotation
- from typing import Any, Callable, Dict, Iterator, List, Tuple, Type, Union # NOQA
+ from typing import Any, Callable, Dict, Iterator, List, Tuple, Union # NOQA
+ from typing import Type # for python3.5.1
from docutils import nodes # NOQA
from docutils.io import Input # NOQA
from docutils.parsers import Parser # NOQA