def BuildFileTargets(target_list, build_file):
 return [p for p in target_list if (BuildFile(p) == build_file)]

def BuildFileTargets ( target_list , build_file ) : return [ p for p in target_list if ( BuildFile ( p ) == build_file ) ]
from a target_list .