def is_num_list(item):
    try:
        for thing in item:
            if not isinstance(thing, Num):
                raise TypeError
    except __HOLE__:
        return False
    return True
dataset/ETHPy150Open plotly/plotly.py/plotly/tests/utils.py/is_num_list