From 42f0df50060c72c65cf5e2abbff0cf8b97fe28a1 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 26 May 2025 15:42:09 -0700 Subject: [PATCH] Add a `versionchanged` marker for PEP 758 changes --- Doc/reference/compound_stmts.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index e95fa3a6424e23..ba0ff422e0796a 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -327,6 +327,10 @@ stored in the :mod:`sys` module is reset to its previous value:: None +.. versionchanged:: 3.14 + Parentheses are no longer required around a tuple of exception types. + + .. index:: pair: keyword; except_star @@ -389,6 +393,8 @@ in the same :keyword:`try`. :keyword:`break`, :keyword:`continue` and :keyword:`return` cannot appear in an :keyword:`!except*` clause. +.. versionchanged:: 3.14 + Parentheses are no longer required around a tuple of exception types. .. index:: pair: keyword; else