forked frompython/cpython
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
Commit0f27753
[3.11] Remove misformatted exclamation marks in docs (pythonGH-102694)
Remove the exclamation mark from :program:`!foo` in .rst files becauseit inadvertently shows up in the rendered HTML.(Sphinx's cross-referencing roles use a '!' prefix to suppresshyperlinking[1], but :program: is not a cross-referencing role so the'!' is displayed verbatim.)The exclamation marks in venv.rst were introduced inpythonGH-98350. Seecomments [2] and [3] for additional discussion.[1]:https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.htmlGH-cross-referencing-syntax[2]:https://github.com/python/cpython/pull/98350GH-issuecomment-1285965759[3]:https://github.com/python/cpython/pull/98350GH-issuecomment-1286394047Reported-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>.(cherry picked from commit8647ba4)Co-authored-by: Tom Levy <tomlevy93@gmail.com>1 parentaf00b09 commit0f27753
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed0 commit comments
Comments
(0)