https://github.com/python/cpython/commit/c653fba0167bfafa69f9726c7d6dc1680dcca825 commit: c653fba0167bfafa69f9726c7d6dc1680dcca825 branch: main author: Greg Stein <[email protected]> committer: AA-Turner <[email protected]> date: 2025-08-06T21:58:24Z summary:
Docs: Small clarity change for ``except*`` (#121073) 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 7ac4d8587ce7d5..4e49a49c08167a 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -386,7 +386,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]
