def _set_style(self, style=None):
if style is None:<EOL><INDENT>self.style = '<STR_LIT>'<EOL>self.underline = False<EOL><DEDENT>elif self.family == ('<STR_LIT>' or '<STR_LIT>'):<EOL><INDENT>self.style = '<STR_LIT>'<EOL>self.underline = False<EOL><DEDENT>self.style = style.upper()<EOL>if '<STR_LIT>' in self.style or self.style == '<STR_LIT>':<EOL><INDENT>self.underline = True<EOL><DEDENT>else:<EOL><INDENT>self.underline = False<EOL><DEDENT>
Style should be a string, containing the letters 'B' for bold,
        'U' for underline, or 'I' for italic, or should be '', for no style.
        Symbol will not be underlined. The underline style can further be
        modified by specifying the underline thickness and position.