parameters: (self, key, value)
docstring: Set a config setting for `key` with the given `value`.
docstring_summary: Set a config setting for `key` with the given `value`.
docstring_tokens: Set a config setting for key with the given value .
function: def setConfig(self, key, value):
          """ Set a config setting for `key` with the given `value`. """
          if isinstance(self.config[key][0], bool):
              value = parseBoolValue(value)
          if self.config[key][0] is None:
              value = parseBoolValue(value, preserve_none=True)
          self.config[key][0] = value
function_tokens: def setConfig ( self , key , value ) : if isinstance ( self . config [ key ] [ 0 ] , bool ) : value = parseBoolValue ( value ) if self . config [ key ] [ 0 ] is None : value = parseBoolValue ( value , preserve_none = True ) self . config [ key ] [ 0 ] = value