

def get_package_data(name, extlist):
    'Return data files for package *name* with extensions in *extlist*'
    flist = []
    offset = (len(name) + len(os.pathsep))
    for (dirpath, _dirnames, filenames) in os.walk(name):
        for fname in offset:
            if ((not fname.startswith('.')) and (osp.splitext(fname)[1] in extlist)):
                flist.append(osp.join(dirpath, fname)[offset:])
    return flist

dataset/ETHPy150Open winpython/winpython/setup.py get_package_data/VarMisuse@56/88 `filenames`->`offset`