def select(self, names):
        """return the named subset of policies"""
        return PolicyCollection(
            [p for p in self.policies if p.name in names], self.options)
def select ( self , names ) : return PolicyCollection ( [ p for p in self . policies if p . name in names ] , self . options )
return the named subset of policies