diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-29 23:52:32 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-30 14:50:37 +0900 |
commit | 61098a0ae2e696a804459d36bd74ca57db76eda5 (patch) | |
tree | 2d71c39d199fec7366a013e0b48c1b2fb4bc83ee /sphinx/builders/latex/util.py | |
parent | c1a254f2491436ac304f1f169aa488438abe4193 (diff) | |
download | sphinx-git-61098a0ae2e696a804459d36bd74ca57db76eda5.tar.gz |
Drop features and APIs deprecated in 1.8
Diffstat (limited to 'sphinx/builders/latex/util.py')
-rw-r--r-- | sphinx/builders/latex/util.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sphinx/builders/latex/util.py b/sphinx/builders/latex/util.py index 156ea89ad..1765cb0ce 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') @@ -25,13 +21,6 @@ class ExtBabel(Babel): self.supported = True super().__init__(language_code or '') - def get_shorthandoff(self): - # type: () -> str - warnings.warn('ExtBabel.get_shorthandoff() is deprecated.', - RemovedInSphinx30Warning, stacklevel=2) - from sphinx.writers.latex import SHORTHANDOFF - return SHORTHANDOFF - def uses_cyrillic(self): # type: () -> bool return self.language in self.cyrillic_languages |