Fix type hinting

This commit is contained in:
cocoatomo 2018-11-08 12:50:52 +09:00
parent 8196fe544a
commit 8113439297

View File

@ -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