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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a966f89c76a68824adb6cd80b3ad3365b3925a1e159f29feb12d24c0dbd2f0 |
|
MD5 | 75c79d90fd7c030660102f70cb3a2692 |
|
BLAKE2b-256 | a90c69e9e2236bd1daf018f51e12bdf08fdf1cb77bc2efee27b070fc5ebf6baf |