summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-12 17:28:20 (GMT)
committerGitHub <noreply@github.com>2023-02-12 17:28:20 (GMT)
commit1b736838e6ae1b4ef42cdd27c2708face908f92c (patch)
tree728fc1ae8567b727ff6438e1a0e7f3000eb2456f /Python/pythonrun.c
parentcec99ed1a7f76dda36816be0656e6f64e1d3ae1d (diff)
downloadcpython-1b736838e6ae1b4ef42cdd27c2708face908f92c.zip
cpython-1b736838e6ae1b4ef42cdd27c2708face908f92c.tar.gz
cpython-1b736838e6ae1b4ef42cdd27c2708face908f92c.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. (cherry picked from commit 6ef6915d3530e844243893f91bf4bd702dfef570) Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions