Refactor certain f-strings and literals

This commit is contained in:
Omkaar
2022-10-03 03:20:56 +05:30
committed by GitHub
parent e3b5fbd9e6
commit c30a2f3ca0
6 changed files with 13 additions and 13 deletions

View File

@ -491,7 +491,7 @@ class Loop(Generic[LF]):
This operation obviously cannot be undone!
"""
self._valid_exception = tuple()
self._valid_exception = ()
def remove_exception_type(self, *exceptions: Type[BaseException]) -> bool:
r"""Removes exception types from being handled during the reconnect logic.