diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-03-14 18:46:19 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-03-14 18:46:19 +0300 |
commit | 5b5730ef4e7a28216f1c402f7e2c955c077c5ac3 (patch) | |
tree | e15e69ec895d78693b4066b46ef7ebdae5e57fab /sphinx/domains | |
parent | 6c7480b3f63a726995e9d20e8a3c8c4ebecc1111 (diff) |
Avoid a mypy warning
Diffstat (limited to 'sphinx/domains')
-rw-r--r-- | sphinx/domains/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py index 1b5e18cdf..7175c9b86 100644 --- a/sphinx/domains/python.py +++ b/sphinx/domains/python.py @@ -1303,7 +1303,7 @@ def builtin_resolver(app: Sphinx, env: BuildEnvironment, content = find_pending_xref_condition(node, 'resolved') if content: - contnode = content.children[0] + contnode = content.children[0] # type: ignore if node.get('refdomain') != 'py': return None |