human
Complete this python program:
def ignore_exception(exception_class):
assistant
#Here is the Python program you requested.

    """A decorator that ignores `exception_class` exceptions
    """
    def _decorator(func):
        def newfunc(*args, **kwds):
            try:
                return func(*args, **kwds)
            except exception_class:
                pass
        return newfunc
    return _decorator