def remove_exception_type(self, exc):
old_length = len(self._valid_exception)<EOL>self._valid_exception = tuple(x for x in self._valid_exception if x is not exc)<EOL>return len(self._valid_exception) != old_length<EOL>
Removes an exception type from being handled during the reconnect logic.

        Parameters
        ------------
        exc: Type[:class:`BaseException`]
            The exception class to handle.

        Returns
        ---------
        :class:`bool`
            Whether it was successfully removed.