code: def clean(self, elements):
  		''' Removes empty or incomplete answers. '''
  
  		cleanelements = []
  		for i in xrange(len(elements)):
  			if isempty(elements[i]):
  				return []
  			next = elements[i]
  			if isinstance(elements[i], (list, tuple)):
  				next = self.clean(elements[i])
  			if next:
  				cleanelements.append(elements[i])
  		return cleanelementf clean(self, elements):
  		''' Removes empty or incomplete answers. '''
  
  		cleanelements = []
  		for i in xrange(len(elements)):
  			if isempty(elements[i]):
  				return []
  			next = elements[i]
  			if isinstance(elements[i], (list, tuple)):
  				next = self.clean(elements[i])
  			if next:
  				cleanelements.append(elements[i])
  		return cleanelements
docs: Removes empty or incomplete answers.