]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41762: Fix usage of productionlist markup in the doc (GH-22281)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 18 Sep 2020 07:27:21 +0000 (00:27 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Sun, 4 Oct 2020 15:30:47 +0000 (17:30 +0200)
commite5cc5fd89cc8855ad644ce4ba5e7de766313e418
treeaf00ed23aad68dd67957970f183532039b239b42
parent8dd430265ccd4d34b74c841d6bcc8f58aa93ad94
bpo-41762: Fix usage of productionlist markup in the doc (GH-22281)

Use an unique identifier for the different grammars documented using
the Sphinx productionlist markup.

productionlist markups of the same grammar, like "expressions" or
"compound statements", use the same identifier "python-grammar".
(cherry picked from commit 8af239eacfcf52e4e0e2b0223e7cea4672309483)

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/library/functions.rst
Doc/library/string.rst
Doc/reference/compound_stmts.rst
Doc/reference/expressions.rst
Doc/reference/introduction.rst
Doc/reference/lexical_analysis.rst
Doc/reference/simple_stmts.rst
Doc/reference/toplevel_components.rst