Skip to content

Commit

Permalink
Update peps/pep-0758.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <[email protected]>
  • Loading branch information
JelleZijlstra and AlexWaygood authored Oct 1, 2024
1 parent df0b18a commit e9c7c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peps/pep-0758.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ This change is fully backwards compatible. All existing code using parenthesized
The new syntax is purely additive and does not break any existing code.

It's worth noting that in Python 2 the unparenthesized syntax was allowed with
two eleements, but had different semantics, in which the first element of the
two elements, but had different semantics, in which the first element of the
list was used as the exception type and the second element as the capture
variable. This change does not reintroduce the Python 2 semantics, and the
unparenthesized syntax will behave identically to the parenthesized version.
Expand Down

0 comments on commit e9c7c1a

Please sign in to comment.