def make_field_set_iterable(headers, fields, mdata):
 return product(*[make_field_value_list(headers, f, mdata) for f in fields])

def make_field_set_iterable ( headers , fields , mdata ) : return product ( * [ make_field_value_list ( headers , f , mdata ) for f in fields ] )
return product of lists of unique values in order of the passed fields .