mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Avoid a mypy warning
This commit is contained in:
parent
6c7480b3f6
commit
5b5730ef4e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user