def __ne__(self, other):
        """Equal."""

        return (
            not isinstance(other, Bre) or
            self._pattern != other._pattern or
            self.auto_compile != other.auto_compile
        )
def __ne__ ( self , other ) : return ( not isinstance ( other , Bre ) or self . _pattern != other . _pattern or self . auto_compile != other . auto_compile )
Equal.