code: def validate_result(self, (result_array, result_keywords, )):
          '''
          Check that the result is a list with a single element, and return it.
          If we had more than one element it would mean that the line processed
          looked somewhat like this:
          call1(), "blah blah blah"
          '''
          if len(result_array) != 1 or len(result_keywords) > 0:
              raise BadSyntax('Syntax error processing line: %s' %\
                              self._last_line)
          return result_array[0f validate_result(self, (result_array, result_keywords, )):
          '''
          Check that the result is a list with a single element, and return it.
          If we had more than one element it would mean that the line processed
          looked somewhat like this:
          call1(), "blah blah blah"
          '''
          if len(result_array) != 1 or len(result_keywords) > 0:
              raise BadSyntax('Syntax error processing line: %s' %\
                              self._last_line)
          return result_array[0]
docs: Check that the result is a list with a single element, and return it.
          If we had more than one element it would mean that the line processed
          looked somewhat like this:
          call1(), "blah blah blah"