-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
doc: Remove backslashes in doctest grammar docs #29346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR is stale because it has been open for 30 days with no activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, this change is correct. Per the Sphinx docs for productionlist
:
Note that no further reST parsing is done in the production, so that you don’t have to escape * or | characters.
LGTM, thanks.
Thanks @GeeTransit for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
GH-99809 is a backport of this pull request to the 3.11 branch. |
(cherry picked from commit 22860db) Co-authored-by: George Zhang <[email protected]>
GH-99810 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 22860db) Co-authored-by: George Zhang <[email protected]>
(cherry picked from commit 22860db) Co-authored-by: George Zhang <[email protected]>
(cherry picked from commit 22860db) Co-authored-by: George Zhang <[email protected]>
The backslashes in the grammar here have no effect and show up in the end result. I've done a quick search for
productionlist
and no other doc page has backslashes (except where the backslash is shown, such as for string escapes). This pull request removes them.