diff options
Diffstat (limited to 'sphinx/roles.py')
-rw-r--r-- | sphinx/roles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/roles.py b/sphinx/roles.py index e785e36e0..eb3d14422 100644 --- a/sphinx/roles.py +++ b/sphinx/roles.py @@ -70,7 +70,7 @@ class XRefRole: def __init__(self, fix_parens=False, lowercase=False, nodeclass=None, innernodeclass=None, warn_dangling=False): - # type: (bool, bool, Type[nodes.reference], Type[nodes.TextElement], bool) -> None + # type: (bool, bool, Type[nodes.Element], Type[nodes.TextElement], bool) -> None self.fix_parens = fix_parens self.lowercase = lowercase self.warn_dangling = warn_dangling |