mirror of https://github.com/python/cpython
d26ee8a0a5
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. |
||
---|---|---|
.. | ||
asdl_highlight.py | ||
c_annotations.py | ||
escape4chm.py | ||
glossary_search.py | ||
patchlevel.py | ||
peg_highlight.py | ||
pyspecific.py |