We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46b16d0 commit 9a68862Copy full SHA for 9a68862
Doc/library/contextlib.rst
@@ -191,8 +191,9 @@ Functions and classes provided:
191
.. function:: suppress(*exceptions)
192
193
Return a context manager that suppresses any of the specified exceptions
194
- if they occur in the body of a with statement and then resumes execution
195
- with the first statement following the end of the with statement.
+ if they are raised in the body of a :keyword:`!with` statement and then
+ resumes execution with the first statement following the end of the
196
+ :keyword:`!with` statement.
197
198
As with any other mechanism that completely suppresses exceptions, this
199
context manager should be used only to cover very specific errors where
0 commit comments