]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41762: Fix usage of productionlist markup in the doc (GH-22281) (GH-22300)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 18 Sep 2020 08:31:28 +0000 (01:31 -0700)
committerGitHub <noreply@github.com>
Fri, 18 Sep 2020 08:31:28 +0000 (10:31 +0200)
commitc5cddc17b5c046bb22072c1cf58b898c7ab92e07
tree6238ec7f9d94c25796b7e8e8868401497317df7b
parent038688a53bdd92eafd1edf47e6bed414b125a01e
bpo-41762: Fix usage of productionlist markup in the doc (GH-22281) (GH-22300)

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