cpython/Doc/tools/extensions
Wei-Hsiang (Matt) Wang d26ee8a0a5
gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (#98437)
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.
2022-11-11 02:18:11 +01:00
..
asdl_highlight.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
c_annotations.py bpo-47115: Document which parts of structs are in limited API/stable ABI (GH-32196) 2022-04-06 16:50:45 +02:00
escape4chm.py bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file (GH-30768) 2022-01-21 21:51:15 +00:00
glossary_search.py bpo-43778: Fix Sphinx glossary_search extension (GH-25286) 2021-04-09 00:07:01 +02:00
patchlevel.py Issues #29349: Merge Py 2.6+ compatibility from 3.6 2017-01-29 23:37:24 +00:00
peg_highlight.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
pyspecific.py gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (#98437) 2022-11-11 02:18:11 +01:00