summaryrefslogtreecommitdiff
path: root/sphinx/ext/autosummary/generate.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-03-06 23:44:44 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-03-06 23:44:44 +0900
commitdbefc9865d8c2c4006ed52475d1bff865358cd00 (patch)
tree87e6cc29d08b37751b13add9f4a4b90e74666b81 /sphinx/ext/autosummary/generate.py
parentc747257f77f75a3945acc0b7e054040e2656be4b (diff)
downloadsphinx-git-dbefc9865d8c2c4006ed52475d1bff865358cd00.tar.gz
Clean up import for annotations
Diffstat (limited to 'sphinx/ext/autosummary/generate.py')
-rw-r--r--sphinx/ext/autosummary/generate.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py
index 83918e998..1e9dbedc8 100644
--- a/sphinx/ext/autosummary/generate.py
+++ b/sphinx/ext/autosummary/generate.py
@@ -41,9 +41,7 @@ from sphinx.util.rst import escape as rst_escape
if False:
# For type annotation
from typing import Any, Callable, Dict, List, Tuple, Type, Union # NOQA
- from sphinx import addnodes # NOQA
from sphinx.builders import Builder # NOQA
- from sphinx.environment import BuildEnvironment # NOQA
from sphinx.ext.autodoc import Documenter # NOQA