cpython/Doc/tools
Miss Islington (bot) 5612471501
gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (GH-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.
(cherry picked from commit d26ee8a0a5)

Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
2022-11-10 17:32:30 -08:00
..
extensions gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (GH-98437) 2022-11-10 17:32:30 -08:00
static bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) 2020-11-07 12:28:31 +01:00
templates [3.10] gh-93851: Fix all broken links in Doc/ (GH-93853) (GH-94078) 2022-06-21 21:37:09 +02:00
rstlint.py [3.10] [doc] Fix typos found using codespell (GH-28744) (GH-28758) 2021-10-06 15:56:57 +02:00
susp-ignored.csv [3.10] gh-97709: Included newline separator in Mandelbrot set (GH-97737) (#97823) 2022-10-04 12:01:07 -07:00