@@ -542,16 +542,18 @@ class AsyncIterator(AsyncIterable[_T_co], Protocol[_T_co]):
542
<
8000
td data-grid-cell-id="diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e-542-542-1" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">542
class AsyncGenerator (AsyncIterator [_YieldT_co ], Generic [_YieldT_co , _SendT_contra ]):
543
543
def __anext__ (self ) -> Awaitable [_YieldT_co ]: ...
544
544
@abstractmethod
545
- def asend (self , value : _SendT_contra , / ) -> Awaitable [ _YieldT_co ]: ...
545
+ def asend (self , value : _SendT_contra , / ) -> Coroutine [ Any , Any , _YieldT_co ]: ...
546
546
@overload
547
547
@abstractmethod
548
548
def athrow (
549
549
self , typ : type [BaseException ], val : BaseException | object = None , tb : TracebackType | None = None , /
550
- ) -> Awaitable [ _YieldT_co ]: ...
550
+ ) -> Coroutine [ Any , Any , _YieldT_co ]: ...
551
551
@overload
552
552
@abstractmethod
553
- def athrow (self , typ : BaseException , val : None = None , tb : TracebackType | None = None , / ) -> Awaitable [_YieldT_co ]: ...
554
- def aclose (self ) -> Awaitable [None ]: ...
553
+ def athrow (
554
+ self , typ : BaseException , val : None = None , tb : TracebackType | None = None , /
555
+ ) -> Coroutine [Any , Any , _YieldT_co ]: ...
556
+ def aclose (self ) -> Coroutine [Any , Any , None ]: ...
555
557
@property
556
558
def ag_await (self ) -> Any : ...
557
559
@property
0 commit comments