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:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-01-01 05:39:46 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-01-01 05:39:46 +0300
commite628afd5cd0c565f1e33abb01cac26180455182f (patch)
tree3b7cddfe175c444588a0b8d9e80430faeb994b8c /sphinx/locale
parent9458d631d0393956005754ed8137809e15635467 (diff)
parentc5b653433d3fbdca47396f17161685f50d994320 (diff)
Merge branch '2.0'
Diffstat (limited to 'sphinx/locale')
-rw-r--r--sphinx/locale/__init__.py2
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