diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-12 01:25:18 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-12 01:25:18 +0900 |
commit | 99476f37e7af75a729aa7bbf301e94aa8da57196 (patch) | |
tree | 27e0d451a48abcaac31ae05c64a2ddbaa2a2fe4c /sphinx/util/nodes.py | |
parent | 4a1bf03233dea42595fd6efe5beea6d3ee2252f8 (diff) | |
download | sphinx-git-99476f37e7af75a729aa7bbf301e94aa8da57196.tar.gz |
Fix mypy violations (with mypy-0.770)
Diffstat (limited to 'sphinx/util/nodes.py')
-rw-r--r-- | sphinx/util/nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py index 7c7300c60..a5ab83f5d 100644 --- a/sphinx/util/nodes.py +++ b/sphinx/util/nodes.py @@ -199,7 +199,7 @@ def is_translatable(node: Node) -> bool: if isinstance(node, addnodes.translatable): return True - if isinstance(node, nodes.Inline) and 'translatable' not in node: + if isinstance(node, nodes.Inline) and 'translatable' not in node: # type: ignore # inline node must not be translated if 'translatable' is not set return False |