summaryrefslogtreecommitdiff
path: root/sphinx/config.py
diff options
context:
space:
mode:
authorChris Sewell <chrisj_sewell@hotmail.com>2021-04-20 00:32:29 +0200
committerChris Sewell <chrisj_sewell@hotmail.com>2021-04-23 22:40:07 +0200
commitc47f8aa6d16616acce27a7708d622008d67c802d (patch)
tree4f998bebe1875698ee5dfb9fbd9decfb8ff04421 /sphinx/config.py
parentdfdc7626b5dd06bff3d326e6efddc492ef00c471 (diff)
downloadsphinx-git-c47f8aa6d16616acce27a7708d622008d67c802d.tar.gz
🐛 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: