summaryrefslogtreecommitdiffstats
path: root/Doc/library/contextlib.rst
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-06-04 22:07:57 (GMT)
committerGitHub <noreply@github.com>2021-06-04 22:07:57 (GMT)
commitdda9ecbfece28aad7b8ba7eaf7951dd9816f78b1 (patch)
treec34fe58bfc9afc592f6fccd71e09139acb0d0b4b /Doc/library/contextlib.rst
parent2780df478129c4f1042df2868b6adf2bf507cd6e (diff)
downloadcpython-dda9ecbfece28aad7b8ba7eaf7951dd9816f78b1.zip
cpython-dda9ecbfece28aad7b8ba7eaf7951dd9816f78b1.tar.gz
cpython-dda9ecbfece28aad7b8ba7eaf7951dd9816f78b1.tar.bz2
bpo-44279: revert 'exceptions are raised' back to 'exceptions occur' (GH-26492)
Diffstat (limited to 'Doc/library/contextlib.rst')
-rw-r--r--Doc/library/contextlib.rst2
1 files changed, 1 insertions, 1 deletions
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.