8000 Doc: Add the omitted secondary prompt by vinzid · Pull Request #30317 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Doc: Add the omi 8000 tted secondary prompt #30317

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
Jul 23, 2022
Merged

Conversation

vinzid
Copy link
Contributor
@vinzid vinzid commented Jan 1, 2022

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.

For the continuation lines, "..." should present as secondary prompt
@bedevere-bot bedevere-bot added the docs Documentation in the Doc dir label Jan 1, 2022
@hugovk
Copy link
Member
hugovk commented Jan 12, 2022

Looks good, this is how the previous example does it, and will make it properly copy/pastable.

Currently:

image

And clicking the toggle:

image

https://docs.python.org/3/tutorial/inputoutput.html#the-string-format-method

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Feb 16, 2022
@kumaraditya303 kumaraditya303 removed the stale Stale PR or inactive for long period of time. label Jul 23, 2022
@miss-islington
Copy link
Contributor

Thanks @vinzid for the PR, and @Fidget-Spinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry @vinzid and @Fidget-Spinner, I had trouble checking out the 3.11 backport branch.
Please backport using cherry_picker on command line.
cherry_picker de28ee8f755760fda13b481a34b1f326984d293a 3.11

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 23, 2022
…0317)

For the continuation lines, "..." should present as secondary prompt
(cherry picked from commit de28ee8)

Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
@bedevere-bot
Copy link

GH-95159 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jul 23, 2022
@Fidget-Spinner Fidget-Spinner added needs backport to 3.11 only security fixes and removed needs backport to 3.11 only security fixes labels Jul 23, 2022
@miss-islington
Copy link
Contributor

Thanks @vinzid for the PR, and @Fidget-Spinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-95160 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 23, 2022
…0317)

For the continuation lines, "..." should present as secondary prompt
(cherry picked from commit de28ee8)

Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 23, 2022
miss-islington added a commit that referenced this pull request Jul 23, 2022
For the continuation lines, "..." should present as secondary prompt
(cherry picked from commit de28ee8)

Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
Fidget-Spinner pushed a commit that referenced this pull request Jul 23, 2022
…95159)

For the continuation lines, "..." should present as secondary prompt
(cherry picked from commit de28ee8)

Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>

Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
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.

8 participants
0