summaryrefslogtreecommitdiffstats
path: root/Python/asdl.c
diff options
context:
space:
mode:
authorJean Abou-Samra <jean@abou-samra.fr>2023-02-12 14:20:11 (GMT)
committerGitHub <noreply@github.com>2023-02-12 14:20:11 (GMT)
commit6ef6915d3530e844243893f91bf4bd702dfef570 (patch)
treee97939b46b72b0473d20fd2887df80fa1523b4e7 /Python/asdl.c
parentdfc2e065a2e71011017077e549cd2f9bf4944c54 (diff)
downloadcpython-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 'Python/asdl.c')
0 files changed, 0 insertions, 0 deletions