summaryrefslogtreecommitdiff
path: root/sphinx/ext/jsmath.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-28 01:01:03 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-28 01:01:03 +0900
commitfebca7cf26d50aae8054eed7268a51785e9aa10f (patch)
treec6219c39d91e4fe9531718076b63fac4b3dea80d /sphinx/ext/jsmath.py
parent2f1cb1e1840f81e52657d3c270183d8d32c6654a (diff)
parent045e8c80f33b5cf077e10edc0955472ce7137e3d (diff)
downloadsphinx-git-febca7cf26d50aae8054eed7268a51785e9aa10f.tar.gz
Merge branch 'master' into refactor_config
Diffstat (limited to 'sphinx/ext/jsmath.py')
-rw-r--r--sphinx/ext/jsmath.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/sphinx/ext/jsmath.py b/sphinx/ext/jsmath.py
index ffa36969d..a25e271b0 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