mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 04:52:23 +08:00
Fixes #1396.
This commit is contained in:
committed by
Guido van Rossum
parent
b8b3146904
commit
5e74bb3efc
@@ -155,7 +155,7 @@ class AwaitableGenerator(Generator[_T_co, _T_contra, _V_co], Awaitable[_V_co],
|
||||
|
||||
class AsyncIterable(Generic[_T_co]):
|
||||
@abstractmethod
|
||||
def __anext__(self) -> Awaitable[_T_co]: ...
|
||||
def __aiter__(self) -> 'AsyncIterator[_T_co]': ...
|
||||
|
||||
class AsyncIterator(AsyncIterable[_T_co],
|
||||
Generic[_T_co]):
|
||||
|
||||
Reference in New Issue
Block a user