@contextlib.contextmanager
def ignored(*exceptions):
    try:
        yield
    except exceptions:
        pass
Allows you to ignore exceptions cleanly using context managers. This
dataset/ETHPy150Open STIXProject/python-stix/stix/utils/__init__.py/ignored