diff --git a/stubs/requests/requests/exceptions.pyi b/stubs/requests/requests/exceptions.pyi index 62fa11dc5..99f4448d9 100644 --- a/stubs/requests/requests/exceptions.pyi +++ b/stubs/requests/requests/exceptions.pyi @@ -12,12 +12,7 @@ class RequestException(OSError): class InvalidJSONError(RequestException): ... class JSONDecodeError(InvalidJSONError): ... - -class HTTPError(RequestException): - request: Request | PreparedRequest | None - response: Response - def __init__(self, *args: object, request: Request | PreparedRequest | None = ..., response: Response) -> None: ... - +class HTTPError(RequestException): ... class ConnectionError(RequestException): ... class ProxyError(ConnectionError): ... class SSLError(ConnectionError): ...