]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40204: Fix duplicated productionlist names in the doc (GH-21900)
authorVictor Stinner <vstinner@python.org>
Mon, 17 Aug 2020 06:41:42 +0000 (08:41 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Aug 2020 06:41:42 +0000 (08:41 +0200)
commit1abeda80f760134b4233608e2c288790f955b95a
treecb277dac120fa51aae30bb9b1182bd7af3407e6a
parentfbf43f051e7bf479709e122efa4b6edd4b09d4df
bpo-40204: Fix duplicated productionlist names in the doc (GH-21900)

Sphinx 3 disallows having more than one productionlist markup with
the same name. Simply remove names in this case, since names are not
shown anyway. For example, fix the Sphinx 3 warning:

Doc/reference/introduction.rst:96: duplicate token description
of *:name, other instance in reference/expressions
Doc/library/string.rst
Doc/reference/introduction.rst