diff options
| author | Jean Abou-Samra <jean@abou-samra.fr> | 2023-02-12 14:20:11 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-12 14:20:11 (GMT) |
| commit | 6ef6915d3530e844243893f91bf4bd702dfef570 (patch) | |
| tree | e97939b46b72b0473d20fd2887df80fa1523b4e7 /Lib/test/test_tuple.py | |
| parent | dfc2e065a2e71011017077e549cd2f9bf4944c54 (diff) | |
| download | cpython-6ef6915d3530e844243893f91bf4bd702dfef570.zip cpython-6ef6915d3530e844243893f91bf4bd702dfef570.tar.gz cpython-6ef6915d3530e844243893f91bf4bd702dfef570.tar.bz2 | |
gh-101845: pyspecific: Fix i18n for availability directive (GH-101846)
pyspecific: Fix i18n for availability directive
If the directive has content, the previous code would nest paragraph
nodes from that content inside a general paragraph node, which confuses
Sphinx and leads it to drop the content when translating. Instead, use a
container node for the body.
Also use set_source_info so that any warnings have location info.
Diffstat (limited to 'Lib/test/test_tuple.py')
0 files changed, 0 insertions, 0 deletions
