Try not to stand out
Project description
exception_escaping
If you've just confessed and you can't wait to sin again, try this package. It will help you hide your mistakes and make your life more carefree.
Install it:
pip install exception_escaping
And use:
import exception_escaping
@exception_escaping
def function():
raise ValueError
function() # The exception is suppressed.
As you can see, this is similar to contextlib.suppress
, but in the form of a decorator. It works with both regular and coroutine functions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for exception_escaping-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c63f04b93e12fd4d9d4a29395a1f5fb5c22c10a7b8aac0e448f59652479bba75 |
|
MD5 | 08092ad4fc1c20964254b0dc24db1f8f |
|
BLAKE2b-256 | 81f50aa80cc764d0cc8dd01423c820ed0bbdd97643793302a342f949bad8140f |