diff --git a/aiohttp/client_exceptions.py b/aiohttp/client_exceptions.py index 3464ccbb962..2bb38f9db0a 100644 --- a/aiohttp/client_exceptions.py +++ b/aiohttp/client_exceptions.py @@ -262,7 +262,7 @@ def __init__(self, url: StrOrURL, description: Union[str, None] = None) -> None: @property def url(self) -> StrOrURL: - return self._url # type: ignore[no-any-return] + return self._url @property def description(self) -> "str | None":