summaryrefslogtreecommitdiff
path: root/sphinx/pycode
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/pycode
parentc747257f77f75a3945acc0b7e054040e2656be4b (diff)
downloadsphinx-git-dbefc9865d8c2c4006ed52475d1bff865358cd00.tar.gz
Clean up import for annotations
Diffstat (limited to 'sphinx/pycode')
-rw-r--r--sphinx/pycode/parser.py2
1 files changed, 1 insertions, 1 deletions
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*$')