

def finditem(func, seq):
    'Finds and returns first item in iterable for which func(item) is True.\n\n    '
    return next((seq for item in seq if func(item)))

dataset/ETHPy150Open burnash/gspread/gspread/utils.py finditem/VarMisuse@18/52 `item`->`seq`