def stylevariants(optionname, values): # type: (str, Iterable[OptionValue]) -> List[Style] return [stylevariant(optionname, v) for v in values]