Title: Improve documentation for the `else` branch of a `loop` statement · Issue #123786 · python/cpython · GitHub
Open Graph Title: Improve documentation for the `else` branch of a `loop` statement · Issue #123786 · python/cpython
X Title: Improve documentation for the `else` branch of a `loop` statement · Issue #123786 · python/cpython
Description: 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 wit...
Open Graph Description: 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 expl...
X Description: 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 ...
Opengraph URL: https://github.com/python/cpython/issues/123786
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve documentation for the `else` branch of a `loop` statement","articleBody":"# Documentation\r\nThe 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.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-123787\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/Gerardwx","@type":"Person","name":"Gerardwx"},"datePublished":"2024-09-06T14:31:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/123786/cpython/issues/123786"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fb2b4795-18b0-6557-13bb-64c17192d763 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C904:FE603:1D9C284:26A6D4B:696B4715 |
| html-safe-nonce | 074fc489aa3f28251e4b0066aac5ff9a592d05b0b262a4696a2d39f704b80546 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTA0OkZFNjAzOjFEOUMyODQ6MjZBNkQ0Qjo2OTZCNDcxNSIsInZpc2l0b3JfaWQiOiIzMTU4ODAzMzM2OTQ5NDUwNDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5f8efe49d33d36e45b7ac351df6bedeb32bc5069ef17813e33cfe066b73491cb |
| hovercard-subject-tag | issue:2510579141 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/123786/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d2f787752dc7b98227c32a61e8739873d569cb2c2cdea4f9c290e893deb818d/python/cpython/issues/123786 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d2f787752dc7b98227c32a61e8739873d569cb2c2cdea4f9c290e893deb818d/python/cpython/issues/123786 |
| og:image:alt | 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 expl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Gerardwx |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width