File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -418,7 +418,7 @@ coroutine function to be an asynchronous generator. For example::
418418 def gen(): # defines a generator function
419419 yield 123
420420
421- async def agen(): # defines an asynchronous generator function (PEP 525)
421+ async def agen(): # defines an asynchronous generator function
422422 yield 123
423423
424424Due to their side effects on the containing scope, ``yield `` expressions
@@ -501,6 +501,10 @@ on the right hand side of an assignment statement.
501501 The proposal to introduce the :token: `yield_from ` syntax, making delegation
502502 to sub-generators easy.
503503
504+ :pep: `525 ` - Asynchronous Generators
505+ The proposal that expanded on :pep: `492 ` by adding generator capabilities to
506+ coroutine functions.
507+
504508.. index :: object: generator
505509.. _generator-methods :
506510
You can’t perform that action at this time.
0 commit comments