diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-26 02:02:19 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-26 02:02:19 +0900 |
commit | f9ae69d9b003b4839b39b0abc26b6a607b7e08bd (patch) | |
tree | 1e7de5710ae07c493cdb3eb5bf902cd2f81f657a /sphinx/ext/extlinks.py | |
parent | 5734d8ad02116004721bca90df2719fdab7c9eb9 (diff) | |
download | sphinx-git-f9ae69d9b003b4839b39b0abc26b6a607b7e08bd.tar.gz |
Drop typing.TYPE_CHECKING
Diffstat (limited to 'sphinx/ext/extlinks.py')
-rw-r--r-- | sphinx/ext/extlinks.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/ext/extlinks.py b/sphinx/ext/extlinks.py index 53b051c45..29bfe928f 100644 --- a/sphinx/ext/extlinks.py +++ b/sphinx/ext/extlinks.py @@ -24,15 +24,14 @@ :license: BSD, see LICENSE for details. """ -from typing import TYPE_CHECKING - from docutils import nodes, utils from six import iteritems import sphinx from sphinx.util.nodes import split_explicit_title -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Dict, List, Tuple # NOQA from docutils.parsers.rst.states import Inliner # NOQA from sphinx.application import Sphinx # NOQA |