code: 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
docs: Unset arbitrary query flags using a bitmask.
  
          To unset the tailable flag:
          cursor.remove_option(2)