Skip to content

Commit 4a65966

Browse files
Wulian233AA-Turner
andauthored
PEP 758: Mark as Accepted (#4304)
Co-authored-by: Adam Turner <[email protected]>
1 parent 98ca290 commit 4a65966

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

peps/pep-0758.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
PEP: 758
22
Title: Allow ``except`` and ``except*`` expressions without parentheses
33
Author: Pablo Galindo <[email protected]>, Brett Cannon <[email protected]>
4-
PEP-Delegate: TBD
5-
Status: Draft
4+
Status: Accepted
65
Type: Standards Track
76
Created: 30-Sep-2024
87
Python-Version: 3.14
98
Post-History: `02-Oct-2024 <https://discuss.python.org/t/66453>`__
9+
Resolution: `14-Mar-2025 <https://discuss.python.org/t/66453/63>`__
1010

1111
Abstract
1212
========
@@ -57,7 +57,7 @@ The same change would apply to ``except*`` expressions. For example:
5757
except* ExceptionA, ExceptionB, ExceptionC:
5858
...
5959
60-
When using the ``as`` clause to capture the exception instance paretheses must
60+
When using the ``as`` clause to capture the exception instance parentheses must
6161
be used as before. Some users have expressed that they would find it confusing not
6262
to require parentheses as it would be unclear what exactly is being assigned to
6363
the target since in other parts of the language multiple ``as`` clauses can be used

0 commit comments

Comments
 (0)