diff options
Diffstat (limited to 'sphinx/ext/doctest.py')
-rw-r--r-- | sphinx/ext/doctest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/ext/doctest.py b/sphinx/ext/doctest.py index 5e4d6681a..391de73b7 100644 --- a/sphinx/ext/doctest.py +++ b/sphinx/ext/doctest.py @@ -16,7 +16,7 @@ import time import warnings from io import StringIO from os import path -from typing import Any, Callable, Dict, Iterable, List, Sequence, Set, Tuple, Type +from typing import Any, Callable, Dict, Iterable, List, Sequence, Set, Tuple from docutils import nodes from docutils.nodes import Element, Node, TextElement @@ -35,6 +35,7 @@ from sphinx.util.osutil import relpath if False: # For type annotation + from typing import Type # for python3.5.1 from sphinx.application import Sphinx |