diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-01-01 05:39:46 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-01-01 05:39:46 +0300 |
commit | e628afd5cd0c565f1e33abb01cac26180455182f (patch) | |
tree | 3b7cddfe175c444588a0b8d9e80430faeb994b8c /sphinx/locale | |
parent | 9458d631d0393956005754ed8137809e15635467 (diff) | |
parent | c5b653433d3fbdca47396f17161685f50d994320 (diff) |
Merge branch '2.0'
Diffstat (limited to 'sphinx/locale')
-rw-r--r-- | sphinx/locale/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/locale/__init__.py b/sphinx/locale/__init__.py index 34427f454..82aefe91e 100644 --- a/sphinx/locale/__init__.py +++ b/sphinx/locale/__init__.py @@ -222,7 +222,7 @@ def get_translation(catalog, namespace='general'): .. versionadded:: 1.8 """ - def gettext(message: str, *args) -> str: + def gettext(message: str, *args: Any) -> str: if not is_translator_registered(catalog, namespace): # not initialized yet return _TranslationProxy(_lazy_translate, catalog, namespace, message) # type: ignore # NOQA |