mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Simplify `Config.read()
`
This commit is contained in:
parent
826ba0fcd9
commit
0145f95716
@ -196,7 +196,7 @@ class Config:
|
||||
"Falling back to 'en' (English)."))
|
||||
namespace["language"] = "en"
|
||||
|
||||
return cls(namespace, overrides or {})
|
||||
return cls(namespace, overrides)
|
||||
|
||||
def convert_overrides(self, name: str, value: Any) -> Any:
|
||||
if not isinstance(value, str):
|
||||
|
Loading…
Reference in New Issue
Block a user