diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-11-11 01:30:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 01:30:50 (GMT) |
commit | edd92a11ab09b1d10d869bc1510c0d93feece484 (patch) | |
tree | f8ece111a424a8206d5d537db562d50686c037de /Python/pymath.c | |
parent | 17f1c0ab061b02d2f1c3d36ee33e2252c0a10e16 (diff) | |
download | cpython-edd92a11ab09b1d10d869bc1510c0d93feece484.zip cpython-edd92a11ab09b1d10d869bc1510c0d93feece484.tar.gz cpython-edd92a11ab09b1d10d869bc1510c0d93feece484.tar.bz2 |
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 d26ee8a0a552de111b8245ef0de63e3f3f535d9f)
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions