parameters: (self, other)
return_statement: return self._values == other._values
docstring: Compares the current instance with another one.
docstring_summary: Compares the current instance with another one.
docstring_tokens: Compares the current instance with another one .
function: def __eq__(self, other):
      """Compares the current instance with another one."""
      if self is other:
        return True
      if not isinstance(other, self.__class__):
        raise TypeError('Can only compare repeated composite fields against '
                        'other repeated composite fields.')
      return self._values == other._values
function_tokens: def __eq__ ( self , other ) : if self is other : return True if not isinstance ( other , self . __class__ ) : raise TypeError ( 'Can only compare repeated composite fields against ' 'other repeated composite fields.' ) return self . _values == other . _values