mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Emend a spelling error
This commit is contained in:
parent
2910a92d66
commit
edf52e709f
@ -497,7 +497,7 @@ def check_confval_types(app: Sphinx | None, config: Config) -> None:
|
|||||||
if callable(default):
|
if callable(default):
|
||||||
default = default(config) # evaluate default value
|
default = default(config) # evaluate default value
|
||||||
if default is None and not valid_types:
|
if default is None and not valid_types:
|
||||||
continue # neither inferable nor expliclitly annotated types
|
continue # neither inferable nor explicitly annotated types
|
||||||
|
|
||||||
if valid_types is Any:
|
if valid_types is Any:
|
||||||
# any type of value is accepted
|
# any type of value is accepted
|
||||||
|
Loading…
Reference in New Issue
Block a user