

def file_doesnt_endwith(test, endings):
    'Return true if test is a file and its name does NOT end with any\n    of the strings listed in endings.'
    if (not isfile(test)):
        return False
    for e in endings:
        if test.endswith(endings):
            return False
    return True

dataset/ETHPy150Open ipython/ipython-py3k/setupbase.py file_doesnt_endwith/VarMisuse@41/95 `e`->`endings`