summaryrefslogtreecommitdiff
path: root/sphinx/builders/latex/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/latex/util.py')
-rw-r--r--sphinx/builders/latex/util.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/sphinx/builders/latex/util.py b/sphinx/builders/latex/util.py
index 8155d1fd7..b7d79121c 100644
--- a/sphinx/builders/latex/util.py
+++ b/sphinx/builders/latex/util.py
@@ -8,12 +8,8 @@
:license: BSD, see LICENSE for details.
"""
-import warnings
-
from docutils.writers.latex2e import Babel
-from sphinx.deprecation import RemovedInSphinx30Warning
-
class ExtBabel(Babel):
cyrillic_languages = ('bulgarian', 'kazakh', 'mongolian', 'russian', 'ukrainian')
@@ -24,12 +20,6 @@ class ExtBabel(Babel):
self.supported = True
super().__init__(language_code or '')
- def get_shorthandoff(self) -> str:
- warnings.warn('ExtBabel.get_shorthandoff() is deprecated.',
- RemovedInSphinx30Warning, stacklevel=2)
- from sphinx.writers.latex import SHORTHANDOFF
- return SHORTHANDOFF
-
def uses_cyrillic(self) -> bool:
return self.language in self.cyrillic_languages