mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add missing attributes to IncompleteRead (#5933)
This commit is contained in:
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user