code: def clear(self, section=None, setting=None, value=None):
          
          match = [all((section is None or x_y_z[0] == section,
                        setting is None or x_y_z[1] == setting,
                        value is None or x_y_z[2] == value)) for x_y_z in self.settings]
  
          keep = [setting_remove for setting_remove in zip(self.settings,match) if not setting_remove[1]]
  
          self.settings[:] = [x[0] for x in keep]
docs: Clear settings