diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-06-04 22:09:45 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-04 22:09:45 (GMT) |
| commit | ea298e1e33eb03b2b4ea2f4556e59b11e3bf240f (patch) | |
| tree | 33f4f43427dab1188932b1038069317d93559863 | |
| parent | de58b319af3a72440a74e807cf8a1194ed0c6d8c (diff) | |
| download | cpython-ea298e1e33eb03b2b4ea2f4556e59b11e3bf240f.zip cpython-ea298e1e33eb03b2b4ea2f4556e59b11e3bf240f.tar.gz cpython-ea298e1e33eb03b2b4ea2f4556e59b11e3bf240f.tar.bz2 | |
bpo-44279: revert 'exceptions are raised' back to 'exceptions occur' (GH-26492) (GH-26539)
(cherry picked from commit dda9ecbfece28aad7b8ba7eaf7951dd9816f78b1)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
| -rw-r--r-- | Doc/library/contextlib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index cfc37a6..f87ee21 100644 --- a/Doc/library/contextlib.rst +++ b/Doc/library/contextlib.rst @@ -191,7 +191,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. |
