diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-06 23:44:44 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-06 23:44:44 +0900 |
commit | dbefc9865d8c2c4006ed52475d1bff865358cd00 (patch) | |
tree | 87e6cc29d08b37751b13add9f4a4b90e74666b81 /sphinx/ext/autodoc/directive.py | |
parent | c747257f77f75a3945acc0b7e054040e2656be4b (diff) | |
download | sphinx-git-dbefc9865d8c2c4006ed52475d1bff865358cd00.tar.gz |
Clean up import for annotations
Diffstat (limited to 'sphinx/ext/autodoc/directive.py')
-rw-r--r-- | sphinx/ext/autodoc/directive.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/ext/autodoc/directive.py b/sphinx/ext/autodoc/directive.py index 57ba12017..8b41d7fe1 100644 --- a/sphinx/ext/autodoc/directive.py +++ b/sphinx/ext/autodoc/directive.py @@ -17,9 +17,8 @@ from sphinx.util.nodes import nested_parse_with_titles if False: # For type annotation - from typing import Any, Callable, Dict, List, Set, Type # NOQA + from typing import Callable, Dict, List, Set, Type # NOQA from docutils.parsers.rst.state import RSTState # NOQA - from docutils.statemachine import StateMachine, StringList # NOQA from docutils.utils import Reporter # NOQA from sphinx.config import Config # NOQA from sphinx.environment import BuildEnvironment # NOQA |