Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
merged 2 commits into from
Nov 27, 2022

Conversation

GeeTransit
Copy link
Contributor

@GeeTransit GeeTransit commented Oct 31, 2021

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.

@bedevere-bot bedevere-bot added the docs Documentation in the Doc dir label Oct 31, 2021
@GeeTransit GeeTransit changed the title Remove backslashes in doctest grammar docs doc: Remove backslashes in doctest grammar docs Nov 8, 2021
@github-actions
Copy link

github-actions bot commented Dec 9, 2021

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Dec 9, 2021
Copy link
Contributor

@MaxwellDupre MaxwellDupre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improved!

Copy link
Member

@CAM-Gerlach CAM-Gerlach left a 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.

@kumaraditya303 kumaraditya303 removed the stale Stale PR or inactive for long period of time. label Nov 27, 2022
@kumaraditya303 kumaraditya303 merged commit 22860db into python:main Nov 27, 2022
@miss-islington
Copy link
Contributor

Thanks @GeeTransit for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-99809 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Nov 27, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 27, 2022
(cherry picked from commit 22860db)

Co-authored-by: George Zhang <[email protected]>
@bedevere-bot
Copy link

GH-99810 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Nov 27, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 27, 2022
(cherry picked from commit 22860db)

Co-authored-by: George Zhang <[email protected]>
miss-islington added a commit that referenced this pull request Nov 27, 2022
(cherry picked from commit 22860db)

Co-authored-by: George Zhang <[email protected]>
miss-islington added a commit that referenced this pull request Nov 27, 2022
(cherry picked from commit 22860db)

Co-authored-by: George Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants