def METHOD_NAME(s):
    _map = {}
    for line in s.splitlines():
        line = line.strip('+- ')
        if not line:
            continue
        excname, _, errnames = line.partition(' ')
        for errname in filter(None, errnames.strip().split(', ')):
            _map[getattr(errno, errname)] = getattr(builtins, excname)
    return _map