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/jsmath.py | |
parent | 5734d8ad02116004721bca90df2719fdab7c9eb9 (diff) | |
download | sphinx-git-f9ae69d9b003b4839b39b0abc26b6a607b7e08bd.tar.gz |
Drop typing.TYPE_CHECKING
Diffstat (limited to 'sphinx/ext/jsmath.py')
-rw-r--r-- | sphinx/ext/jsmath.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sphinx/ext/jsmath.py b/sphinx/ext/jsmath.py index e523b54c8..b377a6479 100644 --- a/sphinx/ext/jsmath.py +++ b/sphinx/ext/jsmath.py @@ -10,8 +10,6 @@ :license: BSD, see LICENSE for details. """ -from typing import TYPE_CHECKING - from docutils import nodes import sphinx @@ -20,8 +18,8 @@ from sphinx.ext.mathbase import get_node_equation_number from sphinx.ext.mathbase import setup_math as mathbase_setup from sphinx.locale import _ - -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Dict # NOQA from sphinx.application import Sphinx # NOQA |