-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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
Conversation
Thanks @rffontenelle for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
(cherry picked from commit 23a658b) Co-authored-by: Rafael Fontenelle <[email protected]> Co-authored-by: Adam Turner <[email protected]>
GH-131964 is a backport of this pull request to the 3.13 branch. |
(cherry picked from commit 23a658b) Co-authored-by: Rafael Fontenelle <[email protected]> Co-authored-by: Adam Turner <[email protected]>
GH-131965 is a backport of this pull request to the 3.12 branch. |
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]>
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) |
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.
On main, this would also result in showing the suggestion:
SyntaxError: unterminated string literal (detected at line 1); perhaps you escaped the end quote?
Co-authored-by: Adam Turner <[email protected]>
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/