Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34b3f0b

Browse files
authored
Add missing attributes to IncompleteRead (#5933)
1 parent 837b57f commit 34b3f0b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

stdlib/http/client.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ class UnimplementedFileMode(HTTPException): ...
205205

206206
class IncompleteRead(HTTPException):
207207
def __init__(self, partial: bytes, expected: int | None = ...) -> None: ...
208+
partial: bytes
209+
expected: int | None
208210

209211
class ImproperConnectionState(HTTPException): ...
210212
class CannotSendRequest(ImproperConnectionState): ...

0 commit comments

Comments
 (0)