Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Jan 11, 2024
1 parent 47c550c commit dd245fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ However, as you should understand, the default value cannot be specified in this
with exception_escaping(default_return='some value'):
...

#
# exception_escaping.errors.SetDefaultReturnValueForDecoratorError: You cannot set a default value for the context manager. This is only possible for the decorator.
```

As you can see, this is similar to [`contextlib.suppress`](https://docs.python.org/3/library/contextlib.html#contextlib.suppress), but in the form of a decorator. It works with both regular and coroutine functions.
## Which exceptions are blocked?

0 comments on commit dd245fd

Please sign in to comment.