Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-29 18:03:13 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-29 18:03:13 +0300
commitabc4b412209058a6658b3f62a82da13482330e5d (patch)
tree8a39c63965f7c1e53b924cbe150dc9afbe692b05 /sphinx/roles.py
parentd8b8ef559ef30e69fd9a73ea0f8da16351a21eb6 (diff)
Fix annotations for minor methods and functions
Diffstat (limited to 'sphinx/roles.py')
-rw-r--r--sphinx/roles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/roles.py b/sphinx/roles.py
index 0c1f74cef..8b237771c 100644
--- a/sphinx/roles.py
+++ b/sphinx/roles.py
@@ -161,7 +161,7 @@ class XRefRole:
return title, ws_re.sub(' ', target)
def result_nodes(self, document, env, node, is_ref):
- # type: (nodes.document, BuildEnvironment, nodes.Node, bool) -> Tuple[List[nodes.Node], List[nodes.system_message]] # NOQA
+ # type: (nodes.document, BuildEnvironment, nodes.Element, bool) -> Tuple[List[nodes.Element], List[nodes.system_message]] # NOQA
"""Called before returning the finished nodes. *node* is the reference
node if one was created (*is_ref* is then true), else the content node.
This method can add other nodes and must return a ``(nodes, messages)``