mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-18 12:01:26 +08:00
Third-party stubs: Improve several __exit__ methods (#7575)
This commit is contained in:
1 parent
4c9dc43c87
commit
ec27c00ca2
12 files changed
+49
-21
No files matched your search
@@ -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