summaryrefslogtreecommitdiff
path: root/sphinx/ext/mathbase.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-03 00:43:39 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-03 01:11:06 +0900
commitfd73a169c7abe649aab2fcf12d192f44822bbef2 (patch)
tree5609270523a017b24181670103d5f23d4db2688c /sphinx/ext/mathbase.py
parent8068cef267d771cd933316ba93b13665e8282c9d (diff)
downloadsphinx-git-fd73a169c7abe649aab2fcf12d192f44822bbef2.tar.gz
Fix annotations (minor fixes)
Diffstat (limited to 'sphinx/ext/mathbase.py')
-rw-r--r--sphinx/ext/mathbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py
index 3806b86ba..341f07486 100644
--- a/sphinx/ext/mathbase.py
+++ b/sphinx/ext/mathbase.py
@@ -63,7 +63,7 @@ def wrap_displaymath(text, label, numbering):
def is_in_section_title(node):
- # type: (nodes.Node) -> bool
+ # type: (nodes.Element) -> bool
"""Determine whether the node is in a section title"""
from sphinx.util.nodes import traverse_parent