diff --git a/stubs/docutils/docutils/writers/latex2e.pyi b/stubs/docutils/docutils/writers/latex2e.pyi index 0f6820f05..9719f2759 100644 --- a/stubs/docutils/docutils/writers/latex2e.pyi +++ b/stubs/docutils/docutils/writers/latex2e.pyi @@ -1,3 +1,20 @@ from _typeshed import Incomplete +from typing import ClassVar + +from docutils.utils import Reporter + +class Babel: + language_codes: ClassVar[dict[str, str]] + warn_msg: ClassVar[str] + active_chars: ClassVar[dict[str, str]] + + reporter: Reporter | None + language: str + otherlanguages: dict[str, str] + + def __init__(self, language_code: str, reporter: Reporter | None = None) -> None: ... + def __call__(self) -> str: ... + def language_name(self, language_code: str) -> str: ... + def get_language(self) -> str: ... def __getattr__(name: str) -> Incomplete: ...