Thanks to visit codestin.com Credit goes to github.com
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 39dd141 commit 87272b7Copy full SHA for 87272b7
1 file changed
Doc/library/contextlib.rst
@@ -267,8 +267,9 @@ Functions and classes provided:
267
.. function:: suppress(*exceptions)
268
269
Return a context manager that suppresses any of the specified exceptions
270
- if they occur in the body of a with statement and then resumes execution
271
- 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
272
+ :keyword:`!with` statement.
273
274
As with any other mechanism that completely suppresses exceptions, this
275
context manager should be used only to cover very specific errors where
0 commit comments