Skip to content

[docs] Use double quotes over single quotes for match stmt grammar #24943

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 1 commit into from
Apr 12, 2021

Conversation

Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Mar 20, 2021

The Python Language Reference uses " over ' for denoting keywords, and this section uses ' to denote soft keywords. This patch just fixes the grammar to be consistent with the rest of the language reference.

@Fidget-Spinner
Copy link
Member Author

Fidget-Spinner commented Mar 20, 2021

It currently looks like this here:
https://docs.python.org/3.10/reference/compound_stmts.html#the-match-statement
The other patterns follow the same convention.

I think this is skip news and skip issue. This was something I did halfway in the original pattern matching docs PR, but forgot to apply to everything.

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.

4 participants