Utils for handling exceptions.
pydu.exception.
ignore
A context manager which can ignore given exceptions.
>>> from pydu.exception import ignore >>> with ignore(ValueError, AttributeError): ... int('abc') ... int.no_exists_func() ... >>>