-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Doc: Add an empty line as secondary prompt #93424
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
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry @vinzid and @zware, I had trouble checking out the |
GH-95147 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 34d11f1) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
GH-95148 is a backport of this pull request to the 3.11 branch. |
(cherry picked from commit 34d11f1) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
(cherry picked from commit 34d11f1) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
(cherry picked from commit 34d11f1) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
There should be an empty line before the secondary prompt return to primary prompt.
If this empty line is absent, the code to copy will arise error since the next line will still in secondary prompt.
Before change



Code to show:
Code to copy:
Run the code:
After change



Code to show:
Code to copy:
Run the code: