

def _create_library(self, target, results_dir):
    objects = []
    for (basedir, objs) in self.context.products.get('objs').get(objects).items():
        objects = [os.path.join(basedir, obj) for obj in objs]
    output = self._link_library(target, results_dir, objects)
    self.context.log.info('Built c++ library: {0}'.format(output))
    return output

dataset/ETHPy150Open pantsbuild/pants/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_library_create.py CppLibraryCreate._create_library/VarMisuse@39/47 `target`->`objects`