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/pycode/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/pycode/parser.py') diff --git a/sphinx/pycode/parser.py b/sphinx/pycode/parser.py index 1b1018721..bf80f4367 100644 --- a/sphinx/pycode/parser.py +++ b/sphinx/pycode/parser.py @@ -18,7 +18,7 @@ from tokenize import COMMENT, NL if False: # For type annotation - from typing import Any, Dict, IO, List, Tuple # NOQA + from typing import Any, Dict, List, Tuple # NOQA comment_re = re.compile('^\\s*#: ?(.*)\r?\n?$') indent_re = re.compile('^\\s*$') -- cgit v1.2.1