From dbefc9865d8c2c4006ed52475d1bff865358cd00 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Wed, 6 Mar 2019 23:44:44 +0900 Subject: Clean up import for annotations --- sphinx/ext/autodoc/directive.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sphinx/ext/autodoc/directive.py') 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 -- cgit v1.2.1