Merge pull request #5732 from tk0miya/fix_typehints_for_N_co

Remove N_co type (unused)
This commit is contained in:
Takeshi KOMIYA 2018-12-08 02:12:55 +09:00 committed by GitHub
commit 62c7ad65df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
:license: BSD, see LICENSE for details.
"""
from typing import Any, Callable, Dict, List, Tuple, TypeVar
from typing import Any, Callable, Dict, List, Tuple
from docutils import nodes
from docutils.parsers.rst.states import Inliner
@ -23,9 +23,6 @@ if PY2:
else:
unicode = str
N_co = TypeVar('N_co', bound=nodes.Node, covariant=True)
# An entry of Directive.option_spec
DirectiveOption = Callable[[str], Any]