def _handleResultTyping(self, result):
    '''
    If any of the following calls return a single result, and self._strictResultTyping is true,
    return the single result, rather than [(SaveResult) {...}]:

      convertLead()
      create()
      delete()
      emptyRecycleBin()
      invalidateSessions()
      merge()
      process()
      retrieve()
      undelete()
      update()
      upsert()
      describeSObjects()
      sendEmail()
    '''
    if self._strictResultTyping == False and len(result) == 1:
      return result[0]
    else:
      return result