Skip to content

Minor improvements to faq/programming.rst #127261

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 4 commits into from
Apr 1, 2025
Merged

Conversation

rffontenelle
Copy link
Contributor

@rffontenelle rffontenelle commented Nov 25, 2024

Make literal the names of C's and Perl's functions, use exc role in exception names, and fix alignment of exception's caret


📚 Documentation preview 📚: https://cpython-previews--127261.org.readthedocs.build/

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels Nov 25, 2024
@rffontenelle rffontenelle requested a review from AA-Turner March 28, 2025 14:18
@AA-Turner AA-Turner merged commit 23a658b into python:main Apr 1, 2025
24 checks passed
@miss-islington-app
Copy link

Thanks @rffontenelle for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Apr 1, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 1, 2025
(cherry picked from commit 23a658b)

Co-authored-by: Rafael Fontenelle <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Apr 1, 2025

GH-131964 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Apr 1, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 1, 2025
(cherry picked from commit 23a658b)

Co-authored-by: Rafael Fontenelle <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Apr 1, 2025

GH-131965 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Apr 1, 2025
AA-Turner added a commit that referenced this pull request Apr 1, 2025
Minor improvements to the programming FAQ (GH-127261)
(cherry picked from commit 23a658b)

Co-authored-by: Rafael Fontenelle <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
AA-Turner added a commit that referenced this pull request Apr 1, 2025
Minor improvements to the programming FAQ (GH-127261)
(cherry picked from commit 23a658b)

Co-authored-by: Rafael Fontenelle <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@@ -1036,7 +1036,7 @@ A raw string ending with an odd number of backslashes will escape the string's q
>>> r'C:\this\will\not\work\'
File "<stdin>", line 1
r'C:\this\will\not\work\'
^
^
SyntaxError: unterminated string literal (detected at line 1)
Copy link
Member

Choose a reason for hiding this comment

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

On main, this would also result in showing the suggestion:

SyntaxError: unterminated string literal (detected at line 1); perhaps you escaped the end quote?

seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
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
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants