Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sewell <chrisj_sewell@hotmail.com>2021-04-20 01:32:29 +0300
committerChris Sewell <chrisj_sewell@hotmail.com>2021-04-23 23:40:07 +0300
commitc47f8aa6d16616acce27a7708d622008d67c802d (patch)
tree4f998bebe1875698ee5dfb9fbd9decfb8ff04421 /sphinx/config.py
parentdfdc7626b5dd06bff3d326e6efddc492ef00c471 (diff)
🐛 FIX: `Config.__getitem__` typing
Diffstat (limited to 'sphinx/config.py')
-rw-r--r--sphinx/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/config.py b/sphinx/config.py
index a9fdddc8a..418ecf4fb 100644
--- a/sphinx/config.py
+++ b/sphinx/config.py
@@ -255,7 +255,7 @@ class Config:
return default(self)
return default
- def __getitem__(self, name: str) -> str:
+ def __getitem__(self, name: str) -> Any:
return getattr(self, name)
def __setitem__(self, name: str, value: Any) -> None: