Skip to content

Docs: Fix indent in controlflow.rst #134008

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
May 18, 2025

Conversation

Yzi-Li
Copy link
Contributor

@Yzi-Li Yzi-Li commented May 14, 2025

I really ran this code, there shouldn't be indentation here.

Before

Do nothing, but document it.

    No, really, it doesn't do anything.

Should be

Do nothing, but document it.

No, really, it doesn't do anything.

📚 Documentation preview 📚: https://cpython-previews--134008.org.readthedocs.build/en/134008/tutorial/controlflow.html#documentation-strings

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels May 14, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs May 14, 2025
@ZeroIntensity ZeroIntensity added skip issue needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels May 14, 2025
@kumaraditya303 kumaraditya303 merged commit 4ce9187 into python:main May 18, 2025
45 checks passed
@miss-islington-app
Copy link

Thanks @Yzi-Li for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

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

Co-authored-by: Yongzi Li <1538321957@qq.com>
@bedevere-app
Copy link

bedevere-app bot commented May 18, 2025

GH-134184 is a backport of this pull request to the 3.14 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2025
(cherry picked from commit 4ce9187)

Co-authored-by: Yongzi Li <1538321957@qq.com>
@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 18, 2025
@bedevere-app
Copy link

bedevere-app bot commented May 18, 2025

GH-134185 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 May 18, 2025
kumaraditya303 pushed a commit that referenced this pull request May 18, 2025
fix indent in `controlflow.rst` docs (GH-134008)
(cherry picked from commit 4ce9187)

Co-authored-by: Yongzi Li <1538321957@qq.com>
kumaraditya303 pushed a commit that referenced this pull request May 18, 2025
fix indent in `controlflow.rst` docs (GH-134008)
(cherry picked from commit 4ce9187)

Co-authored-by: Yongzi Li <1538321957@qq.com>
@Yzi-Li Yzi-Li deleted the fix-indent-in-controlflow branch May 23, 2025 13:45
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.

3 participants