Skip to content

Commit

Permalink
Update Doc/library/contextlib.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
iritkatriel and AlexWaygood committed Jun 5, 2024
1 parent 62e311a commit 0181126
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/contextlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ Functions and classes provided:
If the code within the :keyword:`!with` block raises a
:exc:`BaseExceptionGroup`, suppressed exceptions are removed from the
group. If any exceptions in the group are not suppressed, a group containing
them is re-raised (see also :meth:`~BaseExceptionGroup.derive`).
them is created using the old group's :meth:`~BaseExceptionGroup.derive`
method, and the new group is then re-raised.

.. versionadded:: 3.4

Expand Down

0 comments on commit 0181126

Please sign in to comment.