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
Doc: Add the omitted secondary prompt #30317
Conversation
For the continuation lines, "..." should present as secondary prompt
|
Looks good, this is how the previous example does it, and will make it properly copy/pastable. Currently: And clicking the toggle: https://docs.python.org/3/tutorial/inputoutput.html#the-string-format-method |
|
This PR is stale because it has been open for 30 days with no activity. |
|
Thanks @vinzid for the PR, and @Fidget-Spinner for merging it |
|
Sorry @vinzid and @Fidget-Spinner, I had trouble checking out the |
…0317) For the continuation lines, "..." should present as secondary prompt (cherry picked from commit de28ee8f755760fda13b481a34b1f326984d293a) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
|
GH-95159 is a backport of this pull request to the 3.10 branch. |
|
Thanks @vinzid for the PR, and @Fidget-Spinner for merging it |
|
GH-95160 is a backport of this pull request to the 3.11 branch. |
For the continuation lines, "..." should present as secondary prompt (cherry picked from commit de28ee8) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>




For the continuation lines,
...should present as secondary prompt, or else the display will be abnormal, especially after the>>>in the upper-right corner is toggled, the line will disappear which make the code to copy incomplete.