https://github.com/python/cpython/commit/b772427902a9f2ea0141afdc62cf5f9fc404b315 commit: b772427902a9f2ea0141afdc62cf5f9fc404b315 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: AA-Turner <[email protected]> date: 2025-08-06T22:04:15Z summary:
[3.13] Docs: Small clarity change for ``except*`` (GH-121073) (#137495) Co-authored-by: Greg Stein <[email protected]> Co-authored-by: Adam Turner <[email protected]> files: M Doc/reference/compound_stmts.rst diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index c83bd9c4f3d5d5..5bd7e2a5b2c747 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -383,7 +383,7 @@ have ambiguous semantics. It is not possible to mix :keyword:`except` and :keyword:`!except*` in the same :keyword:`try`. -:keyword:`break`, :keyword:`continue` and :keyword:`return` +The :keyword:`break`, :keyword:`continue`, and :keyword:`return` statements cannot appear in an :keyword:`!except*` clause. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
