]> 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)
committerGitHub <noreply@github.com>
Fri, 18 Sep 2020 07:27:21 +0000 (00:27 -0700)
commitc053402927d36f9f26160ded24999bf5109ea5eb
tree266a42201fb2287e560a217885d7eaa971f3be5a
parent6d893bab77497fcbdc751dc074c69df93ecab908
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