(self, other)
return (
            not isinstance(other, ReplaceTemplate) or
            self.groups != other.groups or
            self.group_slots != other.group_slots or
            self.literals != other.literals or
            self.pattern_hash != other.pattern_hash or
            self.use_format != other.use_format or
            self._binary != other._binary
        )
Equal.
Equal.
Equal .
def __ne__(self, other):
        """Equal."""

        return (
            not isinstance(other, ReplaceTemplate) or
            self.groups != other.groups or
            self.group_slots != other.group_slots or
            self.literals != other.literals or
            self.pattern_hash != other.pattern_hash or
            self.use_format != other.use_format or
            self._binary != other._binary
        )
def __ne__ ( self , other ) : return ( not isinstance ( other , ReplaceTemplate ) or self . groups != other . groups or self . group_slots != other . group_slots or self . literals != other . literals or self . pattern_hash != other . pattern_hash or self . use_format != other . use_format or self . _binary != other . _binary )