(self, mask)
return self
Unset arbitrary query flags using a bitmask.

        To unset the tailable flag:
        cursor.remove_option(2)
Unset arbitrary query flags using a bitmask.
Unset arbitrary query flags using a bitmask .
def remove_option(self, mask):
        """Unset arbitrary query flags using a bitmask.

        To unset the tailable flag:
        cursor.remove_option(2)
        """
        if not isinstance(mask, int):
            raise TypeError("mask must be an int")
        self.__check_okay_to_chain()

        if mask & _QUERY_OPTIONS["exhaust"]:
            self.__exhaust = False

        self.__query_flags &= ~mask
        return self
def remove_option ( self , mask ) : if not isinstance ( mask , int ) : raise TypeError ( "mask must be an int" ) self . __check_okay_to_chain ( ) if mask & _QUERY_OPTIONS [ "exhaust" ] : self . __exhaust = False self . __query_flags &= ~ mask return self