From dda9ecbfece28aad7b8ba7eaf7951dd9816f78b1 Mon Sep 17 00:00:00 2001 From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Fri, 4 Jun 2021 23:07:57 +0100 Subject: bpo-44279: revert 'exceptions are raised' back to 'exceptions occur' (GH-26492) --- Doc/library/contextlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index 98df292..c9065be 100644 --- a/Doc/library/contextlib.rst +++ b/Doc/library/contextlib.rst @@ -267,7 +267,7 @@ Functions and classes provided: .. function:: suppress(*exceptions) Return a context manager that suppresses any of the specified exceptions - if they are raised in the body of a :keyword:`!with` statement and then + if they occur in the body of a :keyword:`!with` statement and then resumes execution with the first statement following the end of the :keyword:`!with` statement. -- cgit v0.12