mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5732 from tk0miya/fix_typehints_for_N_co
Remove N_co type (unused)
This commit is contained in:
commit
62c7ad65df
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user