Skip to content

Commit d803f52

Browse files
strictly follow AsyncGenerator interface
1 parent 0c95e71 commit d803f52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncstdlib/asynctools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class _BorrowedAsyncIterator(AsyncGenerator[T, S]):
3535
__slots__ = "__wrapped__", "__anext__", "asend", "athrow", "_wrapper"
3636

3737
# Type checker does not understand `__slot__` definitions
38-
__anext__: Callable[[Any], Awaitable[T]]
38+
__anext__: Callable[[Any], Coroutine[Any, Any, T]]
3939
asend: Any
4040
athrow: Any
4141

0 commit comments

Comments
 (0)