diff options
Diffstat (limited to 'sphinx/util/typing.py')
| -rw-r--r-- | sphinx/util/typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py index 957f8a332..fb8daa623 100644 --- a/sphinx/util/typing.py +++ b/sphinx/util/typing.py @@ -64,7 +64,7 @@ RoleFunction = Callable[[str, str, str, int, Inliner, Dict[str, Any], List[str]] Tuple[List[nodes.Node], List[nodes.system_message]]] # A option spec for directive -OptionSpec = Dict[str, Callable[[Optional[str]], Any]] +OptionSpec = Dict[str, Callable[[str], Any]] # title getter functions for enumerable nodes (see sphinx.domains.std) TitleGetter = Callable[[nodes.Node], str] |
