mirror of https://github.com/python/cpython.git
![]() fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py
[why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue.
(cherry picked from commit
|
||
---|---|---|
.. | ||
asdl_highlight.py | ||
c_annotations.py | ||
escape4chm.py | ||
glossary_search.py | ||
patchlevel.py | ||
peg_highlight.py | ||
pyspecific.py | ||
suspicious.py |