Skip to content

Commit

Permalink
strictly follow AsyncGenerator interface
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfischer2781 committed Oct 6, 2024
1 parent 0c95e71 commit d803f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncstdlib/asynctools.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class _BorrowedAsyncIterator(AsyncGenerator[T, S]):
__slots__ = "__wrapped__", "__anext__", "asend", "athrow", "_wrapper"

# Type checker does not understand `__slot__` definitions
__anext__: Callable[[Any], Awaitable[T]]
__anext__: Callable[[Any], Coroutine[Any, Any, T]]
asend: Any
athrow: Any

Expand Down

0 comments on commit d803f52

Please sign in to comment.