mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 02:41:16 +08:00
Third-party stubs: Improve several __exit__ methods (#7575)
This commit is contained in:
@@ -108,7 +108,7 @@ class Response:
|
||||
def __nonzero__(self) -> bool: ...
|
||||
def __iter__(self) -> Iterator[bytes]: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(self, *args: Any) -> None: ...
|
||||
def __exit__(self, *args: object) -> None: ...
|
||||
@property
|
||||
def next(self) -> PreparedRequest | None: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user