Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve documentation for the else branch of a loop statement #123786

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

Open
Gerardwx opened this issue Sep 6, 2024 · 0 comments
Open

Improve documentation for the else branch of a loop statement #123786

Gerardwx opened this issue Sep 6, 2024 · 0 comments
Labels
docs Documentation in the Doc dir

Comments

@Gerardwx
Copy link
Contributor

Gerardwx commented Sep 6, 2024

Documentation

The current tutorial documentation on break and continue Statements, and else Clauses on Loops is confusing because some sentences are not always true by themselves, and it's not explicitly stated else's only make sense with break statements.

Linked PRs

@Gerardwx Gerardwx added the docs Documentation in the Doc dir label Sep 6, 2024
Gerardwx added a commit to Gerardwx/cpython that referenced this issue Sep 6, 2024
@picnixz picnixz changed the title else explantion confusing Improve documentation for the else branch of a loop statement Sep 6, 2024
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
Projects
None yet
Development

No branches or pull requests

1 participant