(self, value)
HexDisplayStyle
HexDisplayStyle
HexDisplayStyle
def uppercase_hex(self, value):
        """ HexDisplayStyle
        """
        if isinstance(value, bool):
            self._uppercase_hex = value
        elif isinstance(value, str):
            self._uppercase_hex = (value == 'upper')
def uppercase_hex ( self , value ) : if isinstance ( value , bool ) : self . _uppercase_hex = value elif isinstance ( value , str ) : self . _uppercase_hex = ( value == 'upper' )