code: def default_set(self, obj):
  		'Set passed sink or source to be used as default one by pulseaudio server.'
  		assert_pulse_object(obj)
  		method = {
  			PulseSinkInfo: self.sink_default_set,
  			PulseSourceInfo: self.source_default_set }.get(type(obj))
  		if not method: raise NotImplementedError(type(obj))
  		method(objf default_set(self, obj):
  		'Set passed sink or source to be used as default one by pulseaudio server.'
  		assert_pulse_object(obj)
  		method = {
  			PulseSinkInfo: self.sink_default_set,
  			PulseSourceInfo: self.source_default_set }.get(type(obj))
  		if not method: raise NotImplementedError(type(obj))
  		method(obj)
docs: Set passed sink or source to be used as default one by pulseaudio server.