summaryrefslogtreecommitdiffstats
path: root/Lib/codeop.py
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-03-15 07:26:46 (GMT)
committerGitHub <noreply@github.com>2023-03-15 07:26:46 (GMT)
commit087fb56b9de2eedd5061619eda6fa98ee12738fc (patch)
treeba4a15ed2ed55d36f5102022a4906499d666488e /Lib/codeop.py
parent6f4df729bd0b01ae1221f0aba8775f4e3da337e9 (diff)
downloadcpython-087fb56b9de2eedd5061619eda6fa98ee12738fc.zip
cpython-087fb56b9de2eedd5061619eda6fa98ee12738fc.tar.gz
cpython-087fb56b9de2eedd5061619eda6fa98ee12738fc.tar.bz2
[3.10] Remove misformatted exclamation marks in docs (GH-102694) (#102717)
Remove the exclamation mark from :program:`!foo` in .rst files because it inadvertently shows up in the rendered HTML. (Sphinx's cross-referencing roles use a '!' prefix to suppress hyperlinking[1], but :program: is not a cross-referencing role so the '!' is displayed verbatim.) The exclamation marks in venv.rst were introduced in #98350. See comments [2] and [3] for additional discussion. [1]: https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#cross-referencing-syntax [2]: https://github.com/python/cpython/pull/98350#issuecomment-1285965759 [3]: https://github.com/python/cpython/pull/98350#issuecomment-1286394047 Reported-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> Co-authored-by: Tom Levy <tomlevy93@gmail.com>
Diffstat (limited to 'Lib/codeop.py')
0 files changed, 0 insertions, 0 deletions