diff options
author | Wei-Hsiang (Matt) Wang <mattwang44@gmail.com> | 2022-11-11 01:18:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 01:18:11 (GMT) |
commit | d26ee8a0a552de111b8245ef0de63e3f3f535d9f (patch) | |
tree | ea4eb3f407c4b2f1e64736d7f23082a7aa711c7d /Include | |
parent | 3a1dde8f29215418ec4e27fd6234cfa19a5407c6 (diff) | |
download | cpython-d26ee8a0a552de111b8245ef0de63e3f3f535d9f.zip cpython-d26ee8a0a552de111b8245ef0de63e3f3f535d9f.tar.gz cpython-d26ee8a0a552de111b8245ef0de63e3f3f535d9f.tar.bz2 |
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.
Diffstat (limited to 'Include')
0 files changed, 0 insertions, 0 deletions