def _less_tokens(tokens, remove):
    '''Process the output of `tokenize.generate_tokens` removing
    the tokens specified in `remove`.
    '''
    for values in tokens:
        if values[0] in remove:
            continue
        yield values
dataset/ETHPy150Open rubik/radon/radon/raw.py/_less_tokens/original