diff options
author | Jakob Lykke Andersen <Jakob@caput.dk> | 2021-10-03 09:57:14 +0200 |
---|---|---|
committer | Jakob Lykke Andersen <Jakob@caput.dk> | 2021-10-03 10:18:51 +0200 |
commit | 6321d144474243195c37611528d358b88199ff1a (patch) | |
tree | 5ea34671345a5608a507e1acd89132bda92cdb78 /sphinx/domains/javascript.py | |
parent | 1fe87938e2cde5b09b90d9289004b3a320f95b25 (diff) | |
download | sphinx-git-6321d144474243195c37611528d358b88199ff1a.tar.gz |
js nodes, nodes.Node -> Node
Diffstat (limited to 'sphinx/domains/javascript.py')
-rw-r--r-- | sphinx/domains/javascript.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py index e48f821e8..e2dfb72b1 100644 --- a/sphinx/domains/javascript.py +++ b/sphinx/domains/javascript.py @@ -50,7 +50,7 @@ class JSObject(ObjectDescription[Tuple[str, str]]): 'noindexentry': directives.flag, } - def get_display_prefix(self) -> List[nodes.Node]: + def get_display_prefix(self) -> List[Node]: #: what is displayed right before the documentation entry return [] @@ -240,7 +240,7 @@ class JSConstructor(JSCallable): allow_nesting = True - def get_display_prefix(self) -> List[nodes.Node]: + def get_display_prefix(self) -> List[Node]: return [addnodes.desc_sig_keyword('class', 'class'), addnodes.desc_sig_space()] |