def _find_exceptions():
    for name, obj in iteritems(globals()):
        try:
            if getattr(obj, 'code', None) is not None:
                default_exceptions[obj.code] = obj
                __all__.append(obj.__name__)
        except __HOLE__: # pragma: no cover
            continue
dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/exceptions.py/_find_exceptions