Skip to content

Commit 100d9ac

Browse files
Fix anext
1 parent 6ebf294 commit 100d9ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/asyncio-dev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Avoid iterating and closing the same generator concurrently
378378
-----------------------------------------------------------
379379

380380
Async generators may to be reentered while another
381-
:meth:`~agen.anext` / :meth:`~agen.athrow` / :meth:`~agen.aclose` call is in
381+
:meth:`~agen.__anext__` / :meth:`~agen.athrow` / :meth:`~agen.aclose` call is in
382382
progress. This may lead to an inconsistent state of the async generator
383383
and can cause errors.
384384

0 commit comments

Comments
 (0)