diff options
author | Chris Sewell <chrisj_sewell@hotmail.com> | 2021-04-20 01:32:29 +0300 |
---|---|---|
committer | Chris Sewell <chrisj_sewell@hotmail.com> | 2021-04-23 23:40:07 +0300 |
commit | c47f8aa6d16616acce27a7708d622008d67c802d (patch) | |
tree | 4f998bebe1875698ee5dfb9fbd9decfb8ff04421 /sphinx/config.py | |
parent | dfdc7626b5dd06bff3d326e6efddc492ef00c471 (diff) |
🐛 FIX: `Config.__getitem__` typing
Diffstat (limited to 'sphinx/config.py')
-rw-r--r-- | sphinx/config.py | 2 |
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: |