mirror of
https://github.com/python/cpython.git
synced 2025-11-02 14:41:33 +00:00
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. |
||
|---|---|---|
| .. | ||
| asdl_highlight.py | ||
| c_annotations.py | ||
| escape4chm.py | ||
| glossary_search.py | ||
| patchlevel.py | ||
| peg_highlight.py | ||
| pyspecific.py | ||