def error_for_errno(space, errno):
    try:
        name = _errno_for_oserror_map[errno]
    except __HOLE__:
        w_type = space.w_SystemCallError
    else:
        w_type = space.find_const(space.find_const(space.w_object, "Errno"), name)
    return space.error(
        w_type,
        os.strerror(errno),
        [space.newint(errno)]
    )
dataset/ETHPy150Open topazproject/topaz/topaz/error.py/error_for_errno