def set_variant(self, variant):
if variant not in ('<STR_LIT>', '<STR_LIT>', None):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self._variant = variant<EOL>
Set the font variant.  Values are: 'normal' or 'small-caps'.