From 34b3f0bf7c1950524d545326866ff98429d91a0a Mon Sep 17 00:00:00 2001 From: Nathan Naze Date: Tue, 17 Aug 2021 21:27:09 -0700 Subject: [PATCH] Add missing attributes to IncompleteRead (#5933) --- stdlib/http/client.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/http/client.pyi b/stdlib/http/client.pyi index c936ad4d8..508191556 100644 --- a/stdlib/http/client.pyi +++ b/stdlib/http/client.pyi @@ -205,6 +205,8 @@ class UnimplementedFileMode(HTTPException): ... class IncompleteRead(HTTPException): def __init__(self, partial: bytes, expected: int | None = ...) -> None: ... + partial: bytes + expected: int | None class ImproperConnectionState(HTTPException): ... class CannotSendRequest(ImproperConnectionState): ...